Reputation: 3505
Check List:
I'm calling service from html. Validation framework is working but response is not json object. It is look like XML in firebug.
The part (that is responsible for catching error and serializing it to json) seems not working
Any guess?
UPDATE
XResult must be XResponse.. Thanks kampsj
Upvotes: 1
Views: 507
Reputation: 3149
In your case, your response DTO should be named XResponse not XResult. You have to adhere to the following convention for response DTOs
{Request DTO Name} + Response
See https://github.com/ServiceStack/ServiceStack/wiki/Your-first-webservice-explained
Upvotes: 3