Re: Include Verbose Description?
- From: "John Saunders [MVP]" <john.saunders at trizetto.com>
- Date: Fri, 6 Jul 2007 13:29:31 -0400
"lucius" <lucius@xxxxxxxxxxxxxxxx> wrote in message news:6krs83p5a6ni78ejj21hio09tu8epk53ja@xxxxxxxxxx
I have several WebMethods in my 2.0 system decorated like this:
[WebMethodAttribute(Description=".....
I have XML comments that describe the actual parameters.
I would like to copy those comments (or use them directly) so they are
visible like in the WebMethodAttribute. What is a good way to do that?
I don't believe there's a way to do that. The Description property of the WebMethodAttribute gets copied into the WSDL file when the WSDL is generated from the code. Since the WSDL is generated through Reflection, and since Reflection has no access to code comments, I think you're out of luck.
--
John Saunders [MVP]
P.S. There are things you can do to customize how the WSDL is generated. They're complex, and I've never used them, nor known anyone who has.
.
- Follow-Ups:
- Re: Include Verbose Description?
- From: Steven Cheng[MSFT]
- Re: Include Verbose Description?
- References:
- Include Verbose Description?
- From: lucius
- Include Verbose Description?
- Prev by Date: Include Verbose Description?
- Next by Date: Client side jscript issue
- Previous by thread: Include Verbose Description?
- Next by thread: Re: Include Verbose Description?
- Index(es):
Relevant Pages
|
Loading