2 .\" soapsuds manual page.
3 .\" (C) 2003 Novell, Inc.
5 .\" Lluis Sanchez Gual (lluis@ximian.com)
9 soapsuds \- Mono's Remoting Proxy Generator
13 [options] [inputs] [outputs]
16 is a tool for generating WSDL documents and client proxies for remoting services.
17 A WSDL document describes the methods that a service provides together with XML schemas
18 of all referenced data structures. A client proxy is a class which offers the same methods
19 as the service it represents, but provides no implementation, it just forwards calls to the
22 Generated client proxies are not strictly necessary, since the runtime can
23 automatically generate proxies from the original service types. However, it implies the need
24 of distributing the service class to all clients. In some scenarios a better approach is
25 to use soapsuds to generate a proxy class which has the same interface as the service,
26 but without any implementation.
29 can generate a WSDL document from a set of types specified with the option
31 or can extract the types from an assembly specified with
32 .I -inputassemblyfile.
33 In this last case, soapsuds will include schemas for all serializable classes in
36 Taking as input a WSDL document (or anything from which such document can be generated)
37 the tool can generate source code for the client proxy (using the
39 option) or it can directly generate an assembly that implements the proxy (with the
40 .I -outputassemblyfile
41 option). soapsuds will also generate fake serializable classes for all types defined
42 in the schema. However, beware that those classes will lack the semantics of the
43 original classes, since only data structure is generated.
46 The following sources are available (only one can be specified):
48 .I "-urltoschema:url" "-url:url"
49 Url from which to retrieve the WSDL document.
51 .I "-types:type1,assembly[,serviceEndPoint][;type2,assembly[,serviceEndPoint]]..."
52 Specifies types for which to generate a schema or proxy. If no service endpoint is
53 provided, the one provided with the
57 .I "-inputassemblyfile:file", "-ia:file"
58 Assembly that contains the types to export.
60 .I "-inputschemafile:schena", "-is:schema"
61 Schema from which to generate proxy classes.
63 The following options are available:
65 .I "-inputdirectory:directory", "-id:directory"
66 Directory where DLLs are located.
68 .I "-serviceendpoint:url", "-se:url"
69 Url of the service to be placed in the WSDL document.
71 The following output options are available (more than one can be specified):
73 .I "-outputassemblyfile:file", "-oa:file"
74 Generates the proxy code and compiles it into an assembly with the provided name.
76 .I "-outputschemafile:file", "-os:file"
77 Generates a WSDL document that represents the provided types.
79 .I "-generatecode", "-gc"
80 Generates proxy source code for the provided WSDL document or types.
82 The following options are available:
84 .I "-outputdirectory:directory", "-od:directory"
85 Directory where generated files will be placed.
87 .I "-proxynamespace:namespace", "-pn:namespace"
88 Namespace of the generated proxy.
90 .I "-nowrappedproxy", "-nowp"
91 Do not generate a wrapped proxy.
93 .I "-wrappedproxy", "-wp"
94 Generate a wrapped proxy.
96 .I "-strongnamefile:file", "-sn:file"
99 The following options are available:
102 Supress the startup logo.
104 .I "-u:username", "-user:username"
105 The user name to use when connecting to the server.
107 .I "-p:password", "-password:password"
108 The password to use when connecting to the server.
110 .I "-d:domain", "-domain:domain"
111 The domain to use when connecting to the server.
113 .I "-httpproxyname:name", "-hpn:name"
114 Name of the http proxy.
116 .I "-httpproxyport:port", "-hpp:port"
117 Port of the http proxy.
120 Lluis Sanchez Gual (lluis@ximian.com)
123 wsdl is released under the terms of the GNU GPL.
126 wsdl(1), disco(1), mono(1), mcs(1)