Can you double check the test3/WSSoap.wsdl to if the operation name is right?


--  
Willem Jiang

Red Hat, Inc.
Web: 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 Thursday, November 14, 2013 at 1:43 PM, Malathi G wrote:

> Hi,
> I am calling webservice from camel. While routing message to soap based
> webservice endpoint i am getting the following error. I have included
> defaultOperation and defaultOperationNamespace in cxf endpoint options.
> Please provide some ways to correct this exception
>  
> *java.lang.IllegalArgumentException: Can't find the BindingOperationInfo
> with operation name {http://service.polaris.com}request. Please check the
> message headers of operationName and operationNamespace.*
>  
> *Camel code: *
> public void configure() {
>  
> from("mina:tcp://localhost:6789?textline=true&sync=true").process(new
> Processor(){
> public void process(Exchange e)throws Exception{
> log.info (http://log.info)("Request Message-->"+e.getIn()); } })
>  
> .to("cxf://http://localhost:9090/axis2/services/ServiceRequest?wsdlURL=test3/WSSoap.wsdl&serviceClass=com.polaris.service.ServiceRequest&serviceName={http://service.polaris.com}ServiceRequest&portName={http://service.polaris.com}ServiceRequestHttpSoap11Endpoint&dataFormat=PAYLOAD&defaultOperationName=request&defaultOperationNamespace=http://service.polaris.com";)
> .process(new Processor(){
> public void process(Exchange res){
> log.info (http://log.info)("Response Message-->"+res.getIn());
> }
> });
> }
>  
>  
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-to-Webservice-call-can-t-find-BindingOperationInfo-exception-tp5743233.html
> Sent from the Camel - Users mailing list archive at Nabble.com 
> (http://Nabble.com).



Reply via email to