This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
WebServiceUtil.Exe Syntax
The following is the syntax for using the ASP+ Web Services utility, WebService.Util.exe for generating client proxies:
Syntax
WebServiceUtil -install <wwwDirectoryName> <assemblyName>
WebServiceUtil -uninstall <wwwDirectoryName>
WebServiceUtil -client <urlToSDL> <pathToSDL> <language> <namespace> [<outputDirectoryName>] [<pathToXSD>...]
WebServiceUtil -server <urlToSDL> <pathToSDL> <language> <namespace> [<outputDirectoryName>] [<pathToXSD>...]
WebServiceUtil -description <directoryUrl> <assemblyName> [<outputDirectoryName>]
WebServiceUtil -refactor <pathToSDL> [<outputDirectoryName>]
Definitions
Property |
Definition |
wwwDirectoryName |
The name of a sub-directory under wwwroot on http://localhost. |
outputDirectoryName |
The location to create files. |
assemblyName |
The name of an assembly containing web services. |
pathToSDL |
A local path to an service description file |
pathToXSD |
A local path to an xml schema file (filename must end in .xsd) |
directoryUrl |
The URL of a directory containing web services |
urlToSDL |
The URL that the service description file was retrieved from |
language |
The language to generate the code in. Choose from CSharp, VB, VBCompat, and JS. |
namespace |
The namespace to generate the code in. |
Notes
Option |
Description |
Install |
Creates a virtual directory in IIS, mark it as an IIS application, generate the .ASMX files there and copy the assembly into the \\bin directory. |
Uninstall |
Deletes the directory. |
Client |
Creates source code for a web service client class. |
Server |
Creates source code for a web service server class. |
Description |
Creates static service description files for web services in an assembly. |
Refactor |
Creates separate SDL files for each of the protocols found in the SDL file. |