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 <WsdlTask> to produce Web service clients and abstract Web service servers using ASP.NET.
Attribute | Description | Required |
---|
path | URL to discover. | False |
nologo | Supress Banner. | False |
nosave | Save the discovery to disk. | False |
outputdir | Output directory to save discovered documents in. | False |
username | If Web service requires authentication. | False |
password | If Web service requires authentication. | False |
domain | If Web service requires authentication. | False |
proxy | URL of proxy server to use for HTTP request. | False |
proxyusername | If proxy requires authentication. | False |
proxypassword | If proxy requires authentication. | False |
proxydomain | If proxy requires authentication | False |
failonerror | Determines whether task failure stops the build or is just reported. Default is "true." | False |
verbose | Task reports detailed build log messages. Default is "false." | False |
if | If true then the task will be executed; otherwise skipped. Default is "true." | False |
unless | Opposite of if. If false then the task will be executed; otherwise skipped. Default is "false." | False |
<disco path="http://www.somewhere.com/myservice.wsdl" language="CS" namespace="MyCompany
.MyService" outfile="MyService.cs" />