3 Replies Latest reply on Nov 19, 2012 6:26 AM by asoldano

    Soap Over JMS: Operation Invocation

    cacao

      Hi,

      I am using JBoss 5.1.0 alongwith HornetQ 2.1.1 as my JMS provider.

      I am trying to build a Soap over JMS service, using CXF 2.7.0, in a wsdl first approach. I wrote a WSDL, as described here: http://cxf.apache.org/docs/soap-over-jms-10-support.html. I created the server code and the client code using the wsdl2java utility, and deployed the webservice as a war file to JBoss.

       

      When i run the client, i can see my data getting into the JMS queue , however, the operation invocation call does not return. In fact, the webservice operation itself is not getting invoked. The client is able to connect to the queue and send the SOAP message, but after that it appears to be stuck somewhere, without reaching the operation. Also, when i acces my wsdl file from the browser, the "location" attribute of the <soap:address> field in the wsdl is pointing to a http endpoint, when in fact my wsdl is having the jms uri for jndi variant.

       

      I have not been able to understand what it is that i have missed.

       

      Any suggestions?

       

      Thanks!