Please take a look at the camel-cxf wiki page[1]
There are lots of example that you can use.

[1] http://camel.apache.org/cxf.html

On Thu Dec 29 16:16:44 2011, jiangfan wrote:
Hi,
I used to do, to write a bean, then use the bean webservice to call .
like this:
             <camel:camelContext autoStartup="true" trace="true">
                <camel:route id="old-example">
                        <camel:from 
uri="jms:queue:old-example?jmsMessageType=Text" />
                        <camel:to 
uri="bean:serviceOldInvokerBean?method=invokerSomeService" />
                </camel:route>

        </camel:camelContext>
        <bean id="serviceOldInvokerBean"
class="com.ygsoft.cxfExample.bean.ServiceOldInvokerBean" />

Now I want to use a camel-CXF component to call webservice

can you show me a example ?


Thanks in advance,
Jiangfan

--
View this message in context: 
http://camel.465427.n5.nabble.com/CXF-problem-how-to-use-Camel-Cxf-to-invoke-a-webservice-tp5107111p5107111.html
Sent from the Camel - Users mailing list archive at Nabble.com.




--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
        http://jnn.javaeye.com (Chinese)
Twitter: willemjiang Weibo: willemjiang

Reply via email to