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 8831091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:14:08+00:00 2026-06-14T08:14:08+00:00

We have a very major existing REST based API using XML which grew over

  • 0

We have a very major existing REST based API using XML which grew over the past years and as you might realize, it became a little stubborn to work on the current codebase.
In order to drive some consolidation and implement best practices for future development, we currently consider to go forward with ServiceStack.

While we can exchange alot on the server side, we’d pretty much like to keep how we communicate with our clients. This means, we would like to have XSDs, which we can provide to our clients, based on which they can drive their implementations against our APIs.
Sofar we have been working XSD first => generate Code out of it.

As I saw on the metadata page of a sample ServiceStack project, it is possible to generate those XSDs out of the code, however I could not find any hints on how to influence this XSD generation. Things I’m most interested in would be a list of the following XSD features:

 <xs:documentation>
 <xs:maxLength>
 min/maxOccurs=""

I actually don’t want to present the whole validation chain which will be run against a given DTO server-side within the XSD, but we learned that having basic documentation and validation rules within the XSD makes life of us and our clients alot easier.

Thanks,
Philipp

  • 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-14T08:14:09+00:00Added an answer on June 14, 2026 at 8:14 am

    ServiceStack uses .NET’s built-in XmlSchema and XsdDataContractExporter .NET classes to generate the XSD schema. This isn’t further customizable beyond the default implementation in ServiceStack.

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

Sidebar

Related Questions

So I have this site here which has major performance issues. Scrolling is very
I have very little experience using Sharepoint but a good amount using Visual Studio
I have been working with PHP for years and gotten a very good grasp
We have a software package which is about 16 years old. It's gone through
I have just started using Boost 1.36. These libraries would be very useful in
I have a very quick question to which I havn't found an answer for.
We have seen Maven perform very well for our Java-based projects. I see from
I have thought of a GC which I can't see major flaws with, and
i have very serious problem if any tech expert can help...thank you in advance..
I have very simple piece of code. The goal is when i input four-digit

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.