Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8445853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T09:46:06+00:00 2026-06-10T09:46:06+00:00

Check List: Dto is X Response object is XResult :IHasResponseStatus and it is in

  • 0

Check List:

  • Dto is X
  • Response object is XResult:IHasResponseStatus and it is in the same namespace with X
  • XValidator:AbstractValidator is working. I can get 400 error when sent invalid object
  • Plugins.Add(new ValidationFeature());
  • container.RegisterValidators(typeof(X).Assembly);
  • Accept application/json, text/javascript, /; q=0.01 in request headers.

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T09:46:08+00:00Added an answer on June 10, 2026 at 9:46 am

    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

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a check box list in that user can check or uncheck the
How can I check if a list in lisp is a dotted pair? CL-USER
How can I create a multiple check list items control as in the picture
Wondering if someone can suggest a refactoring 'best practice' or more ideally a check-list
I'm coding a really basic check list app. The user can add tasks and
I'm working on a project (creating a browser based check list). One of my
I'm using the JQuery DropdownChecklist as available from here: http://code.google.com/p/dropdown-check-list/ Basically I'm using some
I want to check the list of symbol exported by the Linux kernel. So
Possible Duplicate: How do you check if list is blank? def CleanWhiteSpace(theDict) : stuff=[]
I have a list of check boxes. For the check boxes that are selected,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.