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("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("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.