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