Partilhar via


Web Services Discovery Tool (Disco.exe) 

The Web Services Discovery tool discovers the URLs of XML Web services located on a Web server and saves documents related to each XML Web service on a local disk.

disco [options] URL

Remarks

The following tables describe the argument and the options that can be used with Web Services Discovery tool (disco).

Argument Description

URL

The URL for which to discover and produce published discovery documents (.wsdl, .xsd, .disco, and .discomap files).

Option Description

/d[omain]:domain

Specifies the domain name to use when connecting to a proxy server that requires authentication.

/nosave

Does not save the discovered documents or results (.wsdl, .xsd, .disco, and .discomap files) to disk. The default is to save these documents.

/nologo

Suppresses the Microsoft startup banner display.

/o[ut]:directoryName

Specifies the output directory in which to save the discovered documents. The default is the current directory.

/p[assword]:password

Specifies the password to use when connecting to a proxy server that requires authentication.

/proxy:URL

Specifies the URL of the proxy server to use for HTTP requests. The default is to use the system proxy setting.

/proxydomain:domain

or

/pd:domain

Specifies the domain to use when connecting to a proxy server that requires authentication.

/proxypassword:password

or

/pp:password

Specifies the password to use when connecting to a proxy server that requires authentication.

/proxyusername:username

or

/pu:username

Specifies the user name to use when connecting to a proxy server that requires authentication.

/u[sername]:username

Specifies the user name to use when connecting to a proxy server that requires authentication.

/?

Displays command syntax and options for the tool.

XML Web service discovery is the process of locating and interrogating XML Web service descriptions. Potential XML Web service clients can learn that an XML Web service exists and how to interact with it by performing a discovery. The .discomap file that is published by an XML Web service is an XML document that typically contains links to other resources that describe the XML Web service. Web sites that implement an XML Web service are not required to support discovery. An XML Web service might be created for private use.

The .wsdl, .xsd, .disco, and .discomap files produced by this tool can be used as input to the Web Services Description Language Tool (Wsdl.exe) to create XML Web service clients.

Examples

The following command searches the specified URL for discovery documents and saves them to the current directory. The tool displays an error message if it cannot find discoverable resources at the specified URL.

disco https://www.proseware.com/prosewareWebservice.disco

The following command searches the specified URL for discovery documents and saves them to the specified output directory.

disco /out:myDir https://www.proseware.com

See Also

Reference

.NET Framework Tools
Web Services Description Language Tool (Wsdl.exe)
SDK Command Prompt

Concepts

Web Services Discovery
XML Web Services Overview