WebServiceUtil helps create ASP+ web services and web service clients.
WebServiceUtil /command:proxy /path: [/language:] [/namespace:] [/out:] [/xsd: [...]] WebServiceUtil /command:template /path: [/language:] [/namespace:] [/out:] [/xsd: [...]] WebServiceUtil /command:makeSDL /baseurl: /assembly: [/out:] WebServiceUtil /command:getSDL /url: [/out:]
Option | Description |
---|---|
getSDL | Get a service description file from a URL and saves it to a local directory. |
makeSDL | Create static service description files for web services in an assembly. |
proxy | Create source code for a proxy (web service client) class from a Service Description Language (SDL) file or assembly.
The Service Description Language (SDL) is an XML grammar that developers and development tools can use to represent the capabilities of a Web Service. |
template | Create source code for a template (web service server) class from an SDL file. |
/assembly:<file>
Short form: /a:<file> |
The name of an assembly containing web services. |
/baseurl:<base>
Short form: /b:<base> |
The base URL to the web service. |
/command:<command>
Short form: /c:<command> |
The command to perform upon the specified path, XSD, or URI. |
/language:<language>
Short form: /l:<language> |
The language to use for the generated proxy class. Choose from C#, Visual Basic, JScript, or any language with a supplied CodeGenerator. The default language is C#. |
/namespace:<namespace>
Short form: /n:<namespace> |
The namespace for the generated proxy or template. The default namespace is the global namespace. |
/out:<location>
Short form: /o:<location> |
The location at which to create files. The default output location is the current directory. |
/path:<path>
Short form: /pa:<path> |
A local path to a service description file, or a URI that the service description file was retrieved from. |
/url:<url>
Short form: /u:<url> |
A URL to a specific file. |
/xsd:<xsd>,<...>
Short form: /x:<xsd>,<...> |
One or more local XML schema files. Filenames must end in .xsd. |