Re: Include Verbose Description?



Hi Lucius,

For the webservice webmethod "description" attribute, if you mean manually
copy some comments(xml or plain text) into it, I think it is doable. You
can directly add xml content into it and they'll be displayed in the
webservice's WSDL document(in the "portType" section). e.g.

the following description setting (contains some XML datdad) will result to
the sequential WSDL portType fragment
===============
[WebMethod(Description=@"
<comment><param1>param1</param1><param2>param2</param2></comment>
")]

public string HelloWorld()
{
return "Hello World";
}
===================

#note that the "description" property content is not displayed as part of
the WSDL document( but is escapted as CDATA like content)
==============
</wsdl:message>
- <wsdl ortType name="SecurityServiceSoap">
- <wsdl peration name="HelloWorld">
<wsdl ocumentation
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";><comment><param1>param1</param
1><param2>param2</param2></comment></wsdl ocumentation>
<wsdl:input message="tns:HelloWorldSoapIn" />
<wsdl utput message="tns:HelloWorldSoapOut" />
</wsdl peration>
</wsdl ortType>
=======================

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: WSDL web reference problem
    ... the same solution which reference the two different sets of files? ... | met some problems creating client proxy against the wsdl package, ... | Microsoft MSDN Online Support Lead ... | where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Consuming ColdFusion Web Service
    ... apparently is was malformed wsdl. ... Is it possible for us to access the service WSDL document over public url ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: WSDL web reference problem
    ... government and currently what you can get are two wsdl zip packages and you ... I've just downloaded the two packages and tried adding webreference on my ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: winword.exe.manifest for multiple add-ins?
    ... Microsoft Online Community Support ... Get notification to my posts through email? ... where an initial response from the community or a Microsoft Support ... project analysis and dump analysis issues. ...
    (microsoft.public.office.developer.com.add_ins)
  • RE: Missing method in TLB
    ... missing entries are simply blank vtable entries, but there is no way to ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ... project analysis and dump analysis issues. ...
    (microsoft.public.win32.programmer.ole)

Loading