2004-10-14 Umadevi S <sumadevi@novell.com>
[mono.git] / man / wsdl.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
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
19 needed.
20 .PP
21 This tool is used to target the 1.x API, for targetting the 2.x API,
22 please use the wsdl2 tool.
23 .PP
24 .SH OPTIONS
25 The following options are available:
26 .TP
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.
30 .TP
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
34 .I -appsettingurlkey
35 option, and the 
36 .I location
37 attribute specified in the WSDL document.
38 .TP
39 .I "-language:language", "-l"
40 Language of the code to generate. It can be CS (default) or VB.
41 .TP
42 .I "-namespace:name", "-n:name"
43 The namespace of the generated classes. If none is specified, the default
44 namespace is used.
45 .TP
46 .I "-out:filename", "-o:filename"
47 The target file for generated code.
48 .TP
49 .I "-protocol:protocol", "-p:protocol"
50 The protocol for which to generate code. It can be Soap (default), HttpGet or
51 HttpPost.
52 .TP
53 .I "-sample:METHOD"
54 This will display XML request and reply of the sample invocations to
55 that SOAP message.  You can use the -protocol: option to render the
56 message in different forms.
57 .TP
58 .I "-server"
59 Generate a server skeleton instead of a client proxy.
60 .TP
61 .I "-nologo"
62 Supress the startup logo.
63 .TP
64 .I "-u:username", "-user:username"
65 The user name to use when connecting to the server.
66 .TP
67 .I "-p:password", "-password:password"
68 The password to use when connecting to the server.
69 .TP
70 .I "-d:domain", "-domain:domain"
71 The domain to use when connecting to the server.
72 .PP
73 .SH AUTHORS
74 Lluis Sanchez Gual (lluis@ximian.com)
75 .PP
76 .SH LICENSE
77 wsdl is released under the terms of the GNU GPL.
78 .PP
79 .SH SEE ALSO
80 disco(1), soapsuds(1), mono(1), mcs(1), wsdl2(1)