This tool is used to discover the URL of the web service located
on the web server and save the documents related to each web service.
The syntax to use this tool is:
disco [options] URL
The URL is the path of the web service for which we need to
discover the .wsdl , .xsd , .disco and .discomap files.
These are the following options provided for using the tool.
Option
|
Description
|
/d: domain
|
Specifies the domain name to use when connecting to the proxy
server that is used for authentication
|
/nosave
|
This option is used to indicate the discovered documents
needed be saved to disk.
|
/o:directory name
|
Specifies the output directory where you save the
discovered documents.
|
/proxy:url
|
Specifies the url of the proxy server to use for http
request.
|
/proxydomain:domain
|
Specifies the domain to be used when connecting to a proxy
server that requires authentication.
|
/proxyusername:name
|
Specifies the username to be used when connecting to a
proxy server that requires authentication.
|
/u:user name
|
Specifies the username to be used when connecting to a
proxy server that requires authentication.
|
/?
|
Displays all the available options.
|
Examples:
Example 1:
This generates .wsdl and .disco files of the give web
service disco http://localhost/testwebservice/testService.asmx.
Example 2:
This generates .wsdl and .disco files of the given web
service in the given directory path:
disco /out:"D:\\Personal" http://localhost/testservice/testService.asmx
The generated .wsdl and .disco files can be used as inputs
to Wsdl.exe to create xml web service clients.