On Sun, Aug 14, 2011 at 9:31 AM, M.Ismail <[email protected]> wrote: > Hi All, > > I have an RPC encoded WSDL that I need to generate stubs for and invoke from > Camel. I know that CXF doesn't support RPC however, the AXIS 1.4 sample > doesn't show how to invoke a rpc webservice from camel. There is also a good > article by Glen Mazza suggesting a > http://www.jroller.com/gmazza/entry/calling_rpc_encoded_web_services > workaround in JAX-WS client to invoke rpc webservices but it's not > practical for me and I will leave as my last resort. Please, advise. >
You can use a java bean to invoke the Axis web service using the generated stubs. Then from Camel you can invoke the bean. http://camel.apache.org/bean http://camel.apache.org/bean-integration.html And here is an old tutorial on using Axis to expose a web service and have it invoke Camel (the opposite as you do) http://camel.apache.org/tutorial-axis-camel.html > Thank, > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Using-AXIS-I-to-invoke-webservice-tp4697702p4697702.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
