P
peter.moss
I wondered if anyone can help.
I have a web service which has a method similar to the following:
DoSomething(MyObject)
The MyObject was generated from a schema using XSD.EXE. The schema has
a lot of specific information about MyObject (basic validation, string
lengths etc.). The problem is when I look at the WSDL the schema
information is not present.
When I look at the class XSD has generated I can indeed see there is no
attribute to specify what the schema should be, however I can't seem
to find out how to specify the schema for the class.
So basically, how do I tell .NET to output my schema in the WSDL and
not the one based on the class metadata?
Thanks in advance.
I have a web service which has a method similar to the following:
DoSomething(MyObject)
The MyObject was generated from a schema using XSD.EXE. The schema has
a lot of specific information about MyObject (basic validation, string
lengths etc.). The problem is when I look at the WSDL the schema
information is not present.
When I look at the class XSD has generated I can indeed see there is no
attribute to specify what the schema should be, however I can't seem
to find out how to specify the schema for the class.
So basically, how do I tell .NET to output my schema in the WSDL and
not the one based on the class metadata?
Thanks in advance.