Reputation: 1599
My organization has specific guidelines on how SOAP envelop should look like. They have specific schema (XSD) the generated SOAP message should conform to. How to design my WCF interface to conform to this schema?
Upvotes: 1
Views: 564
Reputation: 2670
There is a similar question on this here: Generate DataContract from XSD
Have a look at it, I think it is what you are looking for. Bottom line is you should generate the contract from the XSD rather than hand-crafting it to make it conform when the WSDL is generated by WCF.
Upvotes: 2