You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by lekkie <le...@gmail.com> on 2009/11/14 18:33:05 UTC
Soap messaging over JMS with java client
Can some1 pls point me to a sample code showing how to send a soap message to
JMS.
Is there any need to configure anything special on the ActiveMQ queue?
kr.
--
View this message in context: http://old.nabble.com/Soap-messaging-over-JMS-with-java-client-tp26351937p26351937.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Soap messaging over JMS with java client
Posted by Freeman Fang <fr...@gmail.com>.
On 2009-11-15, at 上午1:33, lekkie wrote:
>
> Can some1 pls point me to a sample code showing how to send a soap
> message to
> JMS.
>
> Is there any need to configure anything special on the ActiveMQ queue?
No, it's just like you send normal text content to the jms queue,
provided you know exactly what your soap pay load should be.
Or if you just have wsdl, but not sure what the soap message should
be, you can use standalone cxf client over jms transport to send soap
message to jms queue, by this way, you just invoke normal java
interface and cxf do the marshall (generate the soap message based on
wsdl) and send soap message to the jms queue you specified in the wsdl.
You can take a look at CxfBcJmsTest[1], there's a sample showing how
to use cxf client over jms transport, you can find the wsdl[2] used in
this test
[1]https://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/java/org/apache/servicemix/cxfbc/CxfBcJmsTest.java
[2]https://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/resources/org/apache/servicemix/cxfbc/ws/security/hello_world.wsdl
Freeman
>
> kr.
> --
> View this message in context: http://old.nabble.com/Soap-messaging-over-JMS-with-java-client-tp26351937p26351937.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
Re: Soap messaging over JMS with java client
Posted by Dmitry Ulanov <du...@gmail.com>.
You just need to define a CFX bean to do it:
from("cxf:bean:...").to("activemq:..."). See more
http://camel.apache.org/cxf.html.
On Sat, Nov 14, 2009 at 8:33 PM, lekkie <le...@gmail.com> wrote:
>
> Can some1 pls point me to a sample code showing how to send a soap message
> to
> JMS.
>
> Is there any need to configure anything special on the ActiveMQ queue?
>
> kr.
> --
> View this message in context:
> http://old.nabble.com/Soap-messaging-over-JMS-with-java-client-tp26351937p26351937.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>