[jbossws-users] SOAP over JMS

tanmay pradhan tanmay.pradhan at exilant.com
Mon Mar 9 22:13:45 EDT 2009


Hi,
I am trying to define a web service with SOAP over JMS. Went through the
jbossws user guide.
(
http://jbossws.jboss.org/mediawiki/index.php?title=JAX-WS_User_Guide#JMS_Transport_Clients
)

However the following line in the wsdl example was not clear to me.

<soap:address
location='jms://queue/RequestQueue?replyToName=queue/ResponseQueue'/>

Is 'replyToName' a key word which is used to specify the response queue
name?

or is there other way to specify the request and reponse queue for a web
service in the wsdl file?

Could anybody point me to some good examples for SOAP over JMS?

The versions I am using are:
-----------------------------------------
JBoss AS 4.2.3.GA
jbossws-3.0.1-native-2.0.4.GA
jboss-messaging-1.4.2.GA (yes I am using JBoss Messaging instead of
JBossMQ).

Thanks in advance for the help.

regards,
Tanmay

  <binding name='JMSBinding' type='tns:OrganizationJMSEndpoint'>
    <soap:binding style='rpc'
transport='http://www.example.org/2006/06/soap/bindings/JMS/'/>
    <operation name='getContactInfo'>
      <soap:operation soapAction=''/>
      <input>
        <soap:body
namespace='http://org.jboss.ws/samples/jmstransport' use='literal'/>
      </input>
      <output>
        <soap:body
namespace='http://org.jboss.ws/samples/jmstransport' use='literal'/>
      </output>
    </operation>
  </binding>

  <service name='OrganizationJMSEndpointService'>
    <port binding='tns:JMSBinding' name='JMSEndpointPort'>
      <soap:address
location='jms://queue/RequestQueue?replyToName=queue/ResponseQueue'/>
    </port>
  </service>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbossws-users/attachments/20090309/c7b5174c/attachment.html 


More information about the jbossws-users mailing list