Hi there,
Here's the problem: our team is working on a web service which formerly
took in two user defined types consisting of mostly simple datatypes.
Recently we decided to move toward an XML schema to define the two types and
the required values to submit rather than having to send .NET-specific types.
So one of our team members generated an XSD with substantial annotation
explaining to consumers of the web service what each element was and why it
was there. There was also one element which had been an enumeration, so he
created a simple type and using restriction specified two integer enumeration
values. The schema validates just fine, but when a client generates a proxy
request through a web reference in VS.NET 2003, all of the annotation
elements are stripped out in the proxy xsd file, as is the enumerated simple
type. The one element which had been specified as that simple type now is
specified as able to accept any int value.
Is this a known issue with VS.NET? For what we are hoping to accomplish,
it's a huge deal breaker.
Please advise.
Thanks very much,
The Man From SQL