Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / man / wsdl.1
index 2c36a7e791a9d698561f8642aaea031343a84276..91537d2d92822c192f668e73cb5226de4cf3a639 100644 (file)
@@ -13,9 +13,13 @@ wsdl \- Mono's Web Service Proxy Generator
 [options] [path | url]
 .SH DESCRIPTION
 .I wsdl
-is a tool for generating proxy classes that can be used to access to web services.
-The tool reads a WSDL document from the provided path or url, and downloads
-referenced schemas or other WSDL documents if needed.
+is a tool for generating proxy classes that can be used to access to
+web services.  The tool reads a WSDL document from the provided path
+or url, and downloads referenced schemas or other WSDL documents if
+needed.
+.PP
+This tool is used to target the 1.x API, for targetting the 2.x API,
+please use the wsdl2 tool.
 .PP
 .SH OPTIONS
 The following options are available:
@@ -29,11 +33,22 @@ Specifies a base URL for the service. The final URL will be constructed by
 combining this value with the URL read from the
 .I -appsettingurlkey
 option, and the 
+.I "-type:typename, assembly"
+Generate a proxy for a compiled web service class. The URL parameter
+can be used to providethe location of the service.
 .I location
 attribute specified in the WSDL document.
 .TP
 .I "-language:language", "-l"
-Language of the code to generate. It can be CS (default) or VB.
+Language of the code to generate. It can be CS for C# (default), Boo
+for Boo and VB for Visual.Basic.
+.TP
+Alternatively you can specify a full type name for a CodeProvider, for
+example, you could use this to generate code for the imaginary "MyLan"
+language which has the following full type:
+.nf
+       wsdl myservice.wsdl -language:MyLan.MyLanCodeProvider, MyLan.CodeDom, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxyy'
+.fi
 .TP
 .I "-namespace:name", "-n:name"
 The namespace of the generated classes. If none is specified, the default
@@ -73,4 +88,4 @@ Lluis Sanchez Gual (lluis@ximian.com)
 wsdl is released under the terms of the GNU GPL.
 .PP
 .SH SEE ALSO
-disco(1), soapsuds(1), mono(1), mcs(1)
+disco(1), soapsuds(1), mono(1), mcs(1), wsdl2(1)