1 Reply Latest reply on Jan 28, 2011 6:55 AM by davsclaus

    How to call an external webservice from existing web service in apachecamel

    praga

      Hi,

       

      I have hosted a web service and printed its message in activemq queue. Now i need to read the posted message from queue and pass the values to another external web service which is no way related to the successfully hosted webservice. is it possible?

      How to call that external webservice using camel?

       

      from("cxf:bean:MyEndPoint").inOnly("activemq:queue:MyQueue")

       

      <cxf:cxfEndpoint id="MyEndPoint"

                address="http://localhost:9105/CamelContext/MyQuery"

                serviceClass="com.webmethods.MyQueryWS" />

       

      My fuse server version is "apache-servicemix-4.3.0-fuse-03-00"