wsdl2soap — generates a WSDL document containing a valid SOAP/HTTP endpoint definition based on a portType
element.
wsdl2soap
[[
-?
] | [
-help
] | [
-h
]] [
-i
port-type-name
] [
-b
binding-name
] [
-soap12
] [
-d
output-directory
] [
-o
output-file
] [
-n
soap-body-namespace
] [-style
(document/rpc)] [-use
(literal/encoded)] [
-v
] [[
-verbose
] | [
-quiet
]] {
wsdlurl
}
wsdl2soap will generate a new WSDL file with a SOAP binding from an existing WSDL file containing a portType element.
The arguments used to manage the WSDL file generation are reviewed in the following table.
Option | Interpretation |
---|---|
-?
|
Displays the online help for this utility. |
-help
|
|
-h
|
|
-i
port-type-name
|
Specifies the portType element for which a binding should be generated. |
|
Specifies the name of the generated SOAP binding. |
-soap12
|
Specifies that the generated binding will use SOAP 1.2. |
-d
output-directory
|
Specifies the directory to place generated WSDL file. |
-o
output-file
|
Specifies the name of the generated WSDL file. |
-n
soap-body-namespace
|
Specifies the SOAP body namespace when the style is RPC. |
-style (document /rpc ) |
Specifies the encoding style (document or RPC) to use in the SOAP binding. The default is document . |
-use (literal /encoded ) |
Specifies the binding use (encoded or literal) to use in the SOAP binding. The default is literal . |
-v
|
Displays the version number for the tool. |
-verbose
|
Displays comments during the code generation process. |
-quiet
|
Suppresses comments during the code generation process. |
wsdlurl
|
The path and name of the WSDL file containing the portType element definition. |
The -i
port-type-name
and
wsdlurl
arguments are required. If the
-style rpc
argument is specified, the -n
soap-body-namspace
argument is also required. All
other arguments are optional and may be listed in any order.