merge -r 58060:58217
[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 Language of the code to generate. It can be CS (default) or VB.
40 .TP
41 .I "-namespace:name", "-n:name"
42 The namespace of the generated classes. If none is specified, the default
43 namespace is used.
44 .TP
45 .I "-out:filename", "-o:filename"
46 The target file for generated code.
47 .TP
48 .I "-protocol:protocol", "-p:protocol"
49 The protocol for which to generate code. It can be Soap (default), HttpGet or
50 HttpPost.
51 .TP
52 .I "-sample:METHOD"
53 This will display XML request and reply of the sample invocations to
54 that SOAP message.  You can use the -protocol: option to render the
55 message in different forms.
56 .TP
57 .I "-server"
58 Generate a server skeleton instead of a client proxy.
59 .TP
60 .I "-nologo"
61 Supress the startup logo.
62 .TP
63 .I "-u:username", "-user:username"
64 The user name to use when connecting to the server.
65 .TP
66 .I "-p:password", "-password:password"
67 The password to use when connecting to the server.
68 .TP
69 .I "-d:domain", "-domain:domain"
70 The domain to use when connecting to the server.
71 .PP
72 .SH AUTHORS
73 Lluis Sanchez Gual (lluis@ximian.com)
74 .PP
75 .SH LICENSE
76 wsdl is released under the terms of the GNU GPL.
77 .PP
78 .SH SEE ALSO
79 disco(1), soapsuds(1), mono(1), mcs(1), wsdl(1)