3 .\" (C) 2003 Novell, Inc.
5 .\" Lluis Sanchez Gual (lluis@ximian.com)
9 wsdl \- Mono's Web Service Proxy Generator
13 [options] [path | url]
16 is a tool for generating proxy classes that can be used to access to
17 web services. The tool reads a WSDL document from the provided path
18 or url, and downloads referenced schemas or other WSDL documents if
21 This tool is used to target the 1.x API, for targetting the 2.x API,
22 please use the wsdl2 tool.
25 The following options are available:
27 .I "-appsettingurlkey:key" "-urlkey:key"
28 Specifies that the url for the services should be read from the <appsettings> section
29 of the configuration file, using the provided key.
31 .I "-appsettingbaseurl:url", "-baseurl:url"
32 Specifies a base URL for the service. The final URL will be constructed by
33 combining this value with the URL read from the
36 .I "-type:typename, assembly"
37 Generate a proxy for a compiled web service class. The URL parameter
38 can be used to providethe location of the service.
40 attribute specified in the WSDL document.
42 .I "-language:language", "-l"
43 Language of the code to generate. It can be CS for C# (default), Boo
44 for Boo and VB for Visual.Basic.
46 Alternatively you can specify a full type name for a CodeProvider, for
47 example, you could use this to generate code for the imaginary "MyLan"
48 language which has the following full type:
50 wsdl myservice.wsdl -language:MyLan.MyLanCodeProvider, MyLan.CodeDom, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxyy'
53 .I "-namespace:name", "-n:name"
54 The namespace of the generated classes. If none is specified, the default
57 .I "-out:filename", "-o:filename"
58 The target file for generated code.
60 .I "-protocol:protocol", "-p:protocol"
61 The protocol for which to generate code. It can be Soap (default), HttpGet or
65 This will display XML request and reply of the sample invocations to
66 that SOAP message. You can use the -protocol: option to render the
67 message in different forms.
70 Generate a server skeleton instead of a client proxy.
73 Supress the startup logo.
75 .I "-u:username", "-user:username"
76 The user name to use when connecting to the server.
78 .I "-p:password", "-password:password"
79 The password to use when connecting to the server.
81 .I "-d:domain", "-domain:domain"
82 The domain to use when connecting to the server.
85 Lluis Sanchez Gual (lluis@ximian.com)
88 wsdl is released under the terms of the GNU GPL.
91 disco(1), soapsuds(1), mono(1), mcs(1), wsdl2(1)