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.

Example

wsdl2service -transport soap -e servicename -p portname -n bindingname HelloWorld.wsdl

Arguments

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 Displays the online help for this utility.
-h Displays the online help for this utility.
-transport <soap/xml/jms> Specifies the type of transport to use for the generated service.
-e <service-name> Specifies the value of the generated service element's name attribute.
-p <port-name> Specifies the value of the generated port element's name attribute. To specify multiple port elements, separate the names by a space.
-n <attribute-binding-name> Specifies the binding used to generate the service.
-a <address> Specifies the value used in the address element of the port.
-jds <jms-destionation-Style(queue/topic)> JMS destination style (queue/topic).
-jpu <jms-jndi-provider-URL> JMS JNDI provider URL.
-jcf <jms-initial-context-factory> JMS initial context factory.
-jfn <jms-jndi-connection-factory-name> JMS JNDI connection factory name.
-jdn <jms-jndi-destination-name> JMS JNDI destination name.
-jmt <jms-message-type(text/binary)> JMS message type(text/binary).
-jmc <use-messageid-as-correlationid(true/false)> Use MessageID As CorrelationID(true/false).
-jsn <durable-subscriber-name> Durable Subscriber Name.
-o <output-file> Specifies the name of the generated WSDL file.
-d <output-directory> Specifies the directory in which the generated WSDL is placed.
-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 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.