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