Add comments to proxies generated by the .NET 2.0 wsdl.exe

T

TR

Hi folks,

Does anyone know if wsdl.exe allows you to take documentation out of
the wsdl and put it in the generated proxy classes as code comments?
For example:

The wsdl for my web service contains the following element:

<xs:element name="GetCustomers">
<xs:annotation>
<xs:documentation>
Gets a list of customers
<xs:documentation>
</xs:annotation>
</xs:element>

When I generate the proxies for this wsdl, they do not contain the text
"Gets a list of customers". What I would like to see is this text
added to a C# comment before the GetCustomers() method. I suspect
this is a limitation of the wsdl.exe.

Thanks,
-TR
 
S

Simon Hart

I don't think this is possible via WSDL.exe. You have to edit the proxy
source afterwards.

Simon.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top