If you can prepare the request message yourself, you can use the camel-http 
endpoint to send the request for you.
If you wants camel-cxf to help you to do that, you can use the cxf[1] endpoint 
directly.

BTW, if you are using Message data format, you can do the XML transformation 
yourself.

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

--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Saturday, December 22, 2012 at 5:07 PM, thelinh wrote:

> I'm new to camel.
>  
> I want to add following proxy route to soap service as run time.
>  
> from("cxf://http://localhost:8081/CentrelServer/NewWebService?"; +  
> "serviceClass=com.vnitt.webservice.axis.NewWebService" +
>  
> "&serviceName={http://axis.webservice.vnitt.com/}NewWebService"; +
>  
> "&portName={http://axis.webservice.vnitt.com/}NewWebServicePort"; +
> "&wsdlURL=src/conf/NewWebService.wsdl").
> process(new Processor() {
>  
> public void process(Exchange arg0) throws Exception {
> System.out.println("code run here");
>  
> }
> }).to(clientService);
>  
> In the above code i want clientService point to a soap service at address:
> http://localhost:9091/Client/NewWebService
>  
> I don't know how to create EndPoint clientService.
>  
> Please help me.
>  
> Thanks
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-transport-to-soap-service-tp5724530.html
> Sent from the Camel - Users mailing list archive at Nabble.com 
> (http://Nabble.com).



Reply via email to