<disco>

Discovers the URLs of XML web services on a web server and saves documents related to them to the local disk. The resulting .discomap, .wsdl, and .xsd files can be used with the <wsdl> task to produce web service clients and and abstract web service servers using ASP.NET.

Parameters

Attribute Type Description Required
domain string Domain of an account with credentials to access a server that requires authentication. False
nologo bool Suppresses the banner. False
nosave bool Do not save the discovered documents to the local disk. False
outputdir string The output directory to save discovered documents in. False
password string Password of an account with credentials to access a server that requires authentication. False
path string The URL or Path to discover. False
proxy string URL of a proxy server to use for HTTP requests. The default is to use the system proxy setting. False
proxydomain string Domain of an account with credentials to access a proxy that requires authentication. False
proxypassword string Password of an account with credentials to access a proxy that requires authentication. False
proxyusername string Username of an account with credentials to access a proxy that requires authentication. False
username string Username of an account with credentials to access a server that requires authentication. False
failonerror bool False
if bool False
timeout int False
unless bool False
verbose bool False

Framework-configurable parameters

Attribute Type Description Required
exename string False
useruntimeengine bool False

Nested Elements:

<arg>

</arg>

Examples

Generate a proxy class for a web service.

<disco path="http://www.somewhere.com/myservice.wsdl"
                language="CS" namespace="MyCompany.MyService" outfile="MyService.cs" />