wsdl generation from c#

  • Thread starter Thread starter Mullin Yu
  • Start date Start date
M

Mullin Yu

i just know that i can write the struct at c#, and then asp.net will
automatically generate the wsdl, but there're some limitations e.g. can't
write the soap header, can't show all the structures of wsdl, can't set the
occurance of the element, can't create attribute

is there any better way to do so?

thanks!
 
Mullin, you can control quite a few aspects of the automatic WSDL generation
using attributes on your WebMethod. For instance, check out the
WebServiceBinding, SoapDocumentMethod, SoapRPCMethod, and other attributes.
They should do pretty much everything you need. Also, check out the MSDN
article, "Customizing SOAP Messages".
 
Back
Top