Table 10 describes the JMS Message Headers and Properties.
The WSDL Binding for SOAP Over JMS varies only slightly from the SOAP Over HTTP binding. The transport attribute under soap:binding indicates that JMS is being used. The attribute must have the value:
http://www.tibco.com/namespaces/ws/2004/soap/binding/JMS.
In addition to the soap:binding transport information, there must be a JMS binding element that describe the message type used for transmission. Currently, the only supported message types are ByteMessage and TextMessage. This looks like the following:
In this definition, both jndi:context and
jms:connectionFactory elements can possibly appear at two locations and they must appear at least once. When they appear under
wsdl:service, the definition applies to all ports inside the service. When they appear under
wsdl:port, the definition applies to only that port and it overrides the definitions that appear at the service level if it exists. If they do not appear at the service level, then each port must define them.
The jms:connectionFactory element is the JMS connection factory name that is used to connect with JMS service, using the JNDI context supplied in the
jndi:context element. Below is an example of using TIBCO Enterprise Message Service as the JMS provider.
In a simple configuration, the jms:connectionFactory is the same for both the Service Provider and the Service Clients. However, both provider and clients can use different connection factories, provided that they all create connections to the same JMS provider instance.
The jms:targetAddress element contains address information which the service provider is going to listen for messages. Below is an example of using TIBCO Enterprise Message Service as the JMS provider with a queue name of MyQueue.
The jndi:context element holds one or more
jndi:property elements. Each of the
jndi:property elements describes a JNDI name/value pair. For example,
With W3C Compliance the jndi:property elements described in the JNDI name and pair value are dispalyed as :