W3C home > Mailing lists > Public > public-soap-jms@w3.org > November 2008

Re: SOAP over JMS

From: Phil Adams <phil_adams@us.ibm.com>
Date: Wed, 19 Nov 2008 09:15:48 -0600
To: <Sanjeev_Dokiburra@ibi.com>
Cc: public-soap-jms@w3.org, public-soap-jms-request@w3.org
Message-ID: <OF5E19B88A.E2E872F0-ON86257506.00529136-86257506.0053D4DD@us.ibm.com>
Hi Sanjeev,
It sounds like you are implementing (more or less) the "SOAP receiving 
node" as described in the SOAP/JMS binding spec.   Note that the WSDL 
binding section of the spec really doesn't apply to the SOAP receiving 
node, since the WSDL is used by the client runtime (SOAP sending node) to 
construct the request message.    So you basically just need to receive 
the JMS message off the queue or topic, then use the JMS message 
properties (e.g. SOAPJMS_contentType) along with the body of the message 
(the format of the body will be described by the SOAPJMS_contentType 
property value) to de-serialize the request.   Then you would process the 
request and construct a response message and send it back in a JMS message 
according to the rules laid out by the SOAP/JMS binding spec.    The 
hardest part (IMO) is the message de-serialization step, although the code 
used to do that would basically be the same that's used to de-serialize a 
message received via HTTP so if your component already supports HTTP, then 
you are mostly done :)


11/19/2008 02:43 AM

I am developing a standalone component, which would pick soap/jms message 
from a destination, processes it (webservice call) and then returns the 
response to reply destination.  Could you please give me pointers about 
java implementation by looking at WSDL.  Wondering whether it would be 
normal http webservice rpc/document invocation using soapaction mentioned 
in line-25, after picking up request message.  Any help is appreciated.
<wsdl11:binding name="StockQuoteSoapJMSBinding" 
15       <wsdl11soap11:binding style="document" 
17       <!-- We want this binding to use a particular CF class -->
18       <soapjms:jndiConnectionFactoryName>
19         sample.jms.ConnectionFactory
20       </soapjms:jndiConnectionFactoryName>
21       <!-- Specify PERSISTENT delivery mode -->
22       <soapjms:deliveryMode>PERSISTENT</soapjms:deliveryMode>
24       <wsdl11:operation name="GetLastTradePrice">
25         <wsdl11soap11:operation soapAction="
26         <wsdl11:input>
27             <wsdl11soap11:body use="literal"/>
28         </wsdl11:input>
29         <wsdl11:output>
30             <wsdl11soap11:body use="literal"/>
31          </wsdl11:output>
32       </wsdl11:operation>
33   </wsdl11:binding>
Thanks & Rgds,

(image/gif attachment: 01-part)

Received on Wednesday, 19 November 2008 15:16:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:24:45 UTC