Introduction to .NET Framework Tools
page 12 of 15
by Suresh Kumar Goudampally
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 68734/ 122

Disco.exe - An Insight

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.


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-25 8:35:26 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search