This line gets generated for all of my xsd objects, where is this coming from and how do I remove it from being generated in the XSD file.
<
xs:element minOccurs="0" maxOccurs="1" name="ExtensionData" type="tns:ExtensionDataObject" />This line gets generated for all of my xsd objects, where is this coming from and how do I remove it from being generated in the XSD file.
<
xs:element minOccurs="0" maxOccurs="1" name="ExtensionData" type="tns:ExtensionDataObject" />
WCF generated XSD and ExtensionDataObject
rain0x01
The schema comes from a XSD designed with MSVS 2005, and then added to the project and used as request parameters, and response parameters in the WCF Operation Contract.
[OperationContract(Name = "Test")]
ResponseTest Test(TestReq req);
ResponseTest and TestReq are both from the xsd in the project. So are you saying I can't use the xsd, I have to build DataContract classes for everything that is in the XSD. I hope there is a way to connect the DataContract to the XSD in the project without having to rewrite a bunch of classes that reflect what is in the XSD.
Webdav101