Table 1. Options Available for Proxy Creation in Beta 1. The first two options are the minimum required. The others show important extra features.
OptionDescription
/c:proxy Instructs the compiler to create a proxy object.
/pa:<WebServerURL> The path of the Service Description Language (SDL) file. Appending "?SDL" to the Web Service gets the SDL contract.
/disco:<FileName> Creates a discovery file, which is one of the mechanisms to find a Web Service from another site. It is an XML file that gives a brief outline of the Web Service. It's good practice to create a discovery file. Visual Studio.NET Web server projects automatically create one at the start of a project. You can enable "Dynamic Discovery" to track ".disco" files automatically from a specified directory. Refer to the .NET Framework Developer's Guide article "Enabling Discovery for a Web Service" to get more information on discovery files.
/l:<Language Code> The language, either C#, Visual Basic, or JScript.
/n:<Namespace> The namespace you like to include in this class. All classes in that namespace will have access to this proxy object.
/o:<Location> Where you want to create the files. If omitted, this is the current directory.
/i:<Namespace> Additional namespaces you like to import into this class.
/protocol:<protocol Name> The protocol to generate the proxy to work with: SOAP, HTTP GET, or HTTP POST. Default value is SOAP.