1
2wsdl(1) General Commands Manual wsdl(1)
3
4
5
7 wsdl - Mono's Web Service Proxy Generator
8
10 wsdl [options] [path | url]
11
13 wsdl is a tool for generating proxy classes that can be used to access
14 to web services. The tool reads a WSDL document from the provided path
15 or url, and downloads referenced schemas or other WSDL documents if
16 needed.
17
18 This tool is used to target the 1.x API, for targetting the 2.x API,
19 please use the wsdl2 tool.
20
22 The following options are available:
23
24 -appsettingurlkey:key -urlkey:key
25 Specifies that the url for the services should be read from the
26 <appsettings> section of the configuration file, using the pro‐
27 vided key.
28
29 -appsettingbaseurl:url , -baseurl:url
30 Specifies a base URL for the service. The final URL will be con‐
31 structed by combining this value with the URL read from the
32 -appsettingurlkey option, and the -type:typename, assembly Gen‐
33 erate a proxy for a compiled web service class. The URL parame‐
34 ter can be used to providethe location of the service. location
35 attribute specified in the WSDL document.
36
37 -language:language , -l
38 Language of the code to generate. It can be CS for C# (default),
39 Boo for Boo and VB for Visual.Basic.
40
41 Alternatively you can specify a full type name for a CodeProvider, for
42 example, you could use this to generate code for the imaginary
43 "MyLan" language which has the following full type:
44 wsdl myservice.wsdl -language:MyLan.MyLanCodeProvider, MyLan.CodeDom, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxyy'
45
46 -namespace:name , -n:name
47 The namespace of the generated classes. If none is specified,
48 the default namespace is used.
49
50 -out:filename , -o:filename
51 The target file for generated code.
52
53 -protocol:protocol , -p:protocol
54 The protocol for which to generate code. It can be Soap
55 (default), HttpGet or HttpPost.
56
57 -sample:METHOD
58 This will display XML request and reply of the sample invoca‐
59 tions to that SOAP message. You can use the -protocol: option
60 to render the message in different forms.
61
62 -server
63 Generate a server skeleton instead of a client proxy.
64
65 -nologo
66 Supress the startup logo.
67
68 -u:username , -user:username
69 The user name to use when connecting to the server.
70
71 -p:password , -password:password
72 The password to use when connecting to the server.
73
74 -d:domain , -domain:domain
75 The domain to use when connecting to the server.
76
78 Lluis Sanchez Gual (lluis@ximian.com)
79
81 wsdl is released under the terms of the GNU GPL.
82
84 disco(1), soapsuds(1), mono(1), mcs(1), wsdl2(1)
85
86
87
88 wsdl(1)