WSDL to Service
Name
wsdl2service
- creates a new WSDL file containing an HTTP or JMS service definition from an existing WSDL document containing a binding element.
Synopsis
wsdl2service -transport <soap/xml/jms> -e <service-name> -p <port-name> -n <attribute-binding-name> [-a <address>] -jds <jms-destionation-Style(queue/topic)> -jpu <jms-jndi-provider-URL> -jcf <jms-initial-context-factory> -jfn <jms-jndi-connection-factory-name> -jdn <jms-jndi-destination-name> -jmt <jms-message-type(text/binary)> -jmc <use-messageid-as-correlationid(true/false)> -jsn <durable-subscriber-name> -o <output-file> -d <output-directory> -h -v -verbose -quiet <wsdlurl>
Description
The wsdl2service tool creates a new WSDL file containing an HTTP or JMS service definition from an existing WSDL document containing a binding element.
Options
The options used to validate WSDL file are reviewed in the following table.
Option |
Interpretation |
---|---|
|
Displays the online help for this utility and exits. |
|
Specifies the type of transport to use for the generated service. |
|
Specifies the value of the generated service element's name attribute. |
|
Specifies the value of the generated port element's name attribute. To specify multiple port elements, separate the names by a space. |
|
Specifies the binding used to generate the service. |
|
Specifies the value used in the address element of the port. |
|
JMS destination style (queue/topic). |
|
JMS JNDI provider URL. |
|
JMS initial context factory. |
|
JMS JNDI connection factory name. |
|
JMS JNDI destination name. |
|
JMS message type(text/binary). |
|
Use MessageID As CorrelationID(true/false). |
|
Durable Subscriber Name. |
|
Specifies the name of the generated WSDL file. |
|
Specifies the directory in which the generated WSDL is placed. |
|
Displays the version number for the tool. |
|
Displays comments during the code generation process. |
|
Suppresses comments during the code generation process. |
wsdlurl |
The path and name of the WSDL file to use in generating the code. |
You must specify the -n <attribute-binding-name> argument and the <wsdlurl> argument. All other arguments are optional and may be listed in any order.
Example
wsdl2service -transport soap -e servicename -p portname -n bindingname HelloWorld.wsdl
See Also
idl2wsdl
, java2js
, java2ws
, wsdl2corba
, wsdl2java
, wsdl2js
, wsdl2soap
, wsdl2xml
, wsdlvalidator
and xsd2wsdl.