wsdl2service — generates a WSDL document containing a valid endpoint definition from a binding
element.
wsdl2service
[[
-?
] | [
-help
] | [
-h
]] [-transport
(http/jms)] [
-e
service-name
] [
-p
port-name
] {
-n
binding-name
} [
-a
address
] [
-soap12
] [[-jds
(queue/topic)] | [
-jpu
jndi-provider-URL
] | [
-jcf
initial-context-factory
] | [
-jfn
jndi-connection-factory-name
] | [
-jdn
jndi-destination-name
] | [-jmt
(text/binary)] | [-jmc
(true/false)] | [
-jsn
durable-subscriber-name
]] [
-o
output-file
] [
-d
output-directory
] [
-v
] [[
-verbose
] | [
-quiet
]] {
wsdlurl
}
wsdl2service creates a new WSDL file containing an HTTP or JMS service definition from an existing WSDL document containing a binding 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
|
|
-transport (http /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. |
-a
address
|
Specifies the value used in the address element of the port. |
-soap12
|
Specifies that the SOAP version to use is 1.2. |
-n
binding-name
|
Specifies the binding used to generate the service. |
-jds (queue /topic ) |
Specifies the JMS destination style. |
-jpu
jndi-provider-URL
|
Specifies the URL of the JMS JNDI provider. |
-jcf
initial-context-factory
|
Specifies the JMS initial context factory. |
-jfn
jndi-connection-factory-name
|
Specifies the JMS JNDI connection factory name. |
-jdn
jndi-destination-name
|
Specifies the JMS JNDI destination name. |
-jmt (text /binary ) |
Specifies the JMS message type. |
-jmc (true /false ) |
Specifies if the MessageID is used as the CorrelationID . |
-jsn
durable-subscriber-name
|
Specifies an optional 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 existing WSDL file. |
You must specify the -n
binding-name
argument and the
wsdlurl
argument. All other arguments are optional
and may be listed in any order.