D.13 Web Service Utility (wsdl.exe)
wsdl.exe helps
create ASP.NET web services and proxies for their clients. The most
common usage of wsdl.exe is to generate proxy
classes for Web services:
wsdl
/language:language
/namespace:namespace
/out:output
/protocol:protocol
path
The path parameter is a local path to a
service-description file or URI where the SDL file can be retrieved.
The language parameter specifies the language
for the output-proxy source file. It can be C#, VB, JS or VJS. The
generated class will be in the specified namespace. The output source
file is controlled by the output option. The
protocol controls which protocol the proxy will
use to communicate with the Web Service. The choices of protocols
provided by the .NET Framework are SOAP, SOAP12, HttpGet, and
HttpPost. You can also have your own protocol here if
you've extended the WebClientProtocol or
HttpWebClientProtocol class.
For short names options, use the following:
wsdl
/l:language
/n:namespace
/o:output
/protocol:protocol
path
The rest of the syntax can be obtained with wsdl /?.
|