It looks you set a wrong namespace on the operation, can you try to use this setting?
<setHeader headerName="operationName"> <constant>select_dataCaptureOperation</constant> </setHeader> <camel:setHeader headerName="operationNamespace"> <camel:simple>ebx-dataservices</camel:simple> </camel:setHeader> -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 9, 2014 at 9:57:10 AM, vs_mahesh ([email protected]) wrote: > Hi , > > I am getting *Can't find the BindingOperationInfo with operation name* > error when I tried to set the operation name.My service class contain more > than one operation so I need to set one opeartion specific. > My camel route is as follows. > > > > > select_dataCaptureOperation > > > urn:ebx-schemas:dataservices_1.0 > > > > > address="http://10.131.27.139:8080/ebx-dataservices/connector" > wsdlURL="wsdl/publishingComponentLibrary.wsdl" > serviceName="tns:ebx-dataservicesService" > endpointName="tns:ebx-dataservices" > > xmlns:tns="ebx-dataservices"> > > > > > > > > > > > > The error log says > > /java.lang.IllegalArgumentException: Can't find the BindingOperationInfo > with operation name > {urn:ebx-schemas:dataservices_1.0}select_dataCaptureOperation. Please check > the message headers of operationName and operationNamespace. > java.lang.IllegalArgumentException: Can't find the BindingOperationInfo with > operation name > {urn:ebx-schemas:dataservices_1.0}select_dataCaptureOperation. Please check > the message headers of operationName and operationNamespace. > at > org.apache.camel.component.cxf.CxfProducer.getBindingOperationInfo(CxfProducer.java:362)[212:org.apache.camel.camel-cxf:2.10.0.fuse-71-047] > > at > org.apache.camel.component.cxf.CxfProducer.prepareBindingOperation(CxfProducer.java:201)[212:org.apache.camel.camel-cxf:2.10.0.fuse-71-047] > > at > org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:102)[212:org.apache.camel.camel-cxf:2.10.0.fuse-71-047] > > at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)[148:org.apache.camel.camel-core:2.10.0.fuse-71-047] > > at > org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:122)[148:org.apache.camel.camel-core:2.10.0.fuse-71-047] > > at > org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:298)[148:org.apache.camel.camel-core:2.10.0.fuse-71-047] > > at > org.apache.camel.processor.SendProcessor.process(SendProcessor.java:117)[148:org.apache.camel.camel-core:2.10.0.fuse-71-047] > > at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)[148:org.apache.camel.camel-core:2.10.0.fuse-71-047] > > at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)[148:org.apache.camel.camel-core:2.10.0.fuse-71-047]/ > > > > The service class contains following method > > @WebResult(name = "select_dataCaptureResponse", targetNamespace = > "urn:ebx-schemas:dataservices_1.0", partName = "parameters") > @WebMethod(operationName = "select_dataCaptureOperation", action = > "select") > public schemas.ebx.dataservices_1.SelectDataCaptureResponseType > selectDataCaptureOperation( > @WebParam(partName = "parameters", name = "select_dataCapture", > targetNamespace = "urn:ebx-schemas:dataservices_1.0") > schemas.ebx.dataservices_1.SelectDataCaptureRequestType parameters > ) throws StandardException; > > > Help me in solving this issue. > > Thanks , > mahesh > > > > ----- > Thanks And regards, > Mahesh > -- > View this message in context: > http://camel.465427.n5.nabble.com/Can-t-find-the-BindingOperationInfo-with-operation-name-tp5757407.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >
