WSDL to SOAP
wsdl2soap - generates a new WSDL document with a SOAP binding from an existing WSDL document containing a
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 document with a SOAP binding from an existing WSDL document containing a
The options used to validate WSDL file are reviewed in the following table.
Displays the online help for this utility and exits.
Specifies the portType element for which a binding should be generated.
Specifies the name of the generated SOAP binding.
Specifies that the generated binding will use SOAP 1.2.
Specifies the directory to place generated WSDL file.
Specifies the name of the generated WSDL file.
Specifies the SOAP body namespace when the style is RPC.
Specifies the encoding style (document or RPC) to use in the SOAP binding. The default is document.
Specifies the binding use (encoded or literal) to use in the SOAP binding. The default is literal.
Displays the version number for the tool.
Displays comments during the code generation process.
Suppresses comments during the code generation process.
The path and name of the WSDL file containing the portType element definition.
-i port-type-name and
wsdlurl arguments are required. If the
-style rpc argument is specified, the
-nsoap-body-namspace argument is also required. All other arguments are optional and may be listed in any order.
wsdl2soap -i GreetPortType -n http://apache.org/hello_world_doc_lit -o Greeting.wsdl -style rpc -use literal TestGreeting.wsdl