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