Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

I added xml comment in service contract and operation contract with wcf services,How to see this comment in wsdl file.

Thanks
saurabh
Posted

1 solution

Hi,

In a word... No.

Or at least not easily.

Comments in WSDL[^]

If this is WCF in IIS then you could possibly register a custom http module or http handler for generating the WSDL. Although this would be a hack.

And even then, the comments wouldn't translate through to the client IDE consuming the service.

My advice, if comments are essential, would be to build a .Net COM component. If you put XML comments on the interface which describes the methods used by the COM and then develop the COM to consume the service, you could supply your users with the COM which would then give them the usage comments within the IDE.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900