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.

<route  id="Sending_Module">
        <from uri="file://D:\\EBXINPUT" />  
          <setHeader headerName="operationName"> 
        <constant>select_dataCaptureOperation</constant> 
      </setHeader> 
      <camel:setHeader headerName="operationNamespace">
                <camel:simple>urn:ebx-schemas:dataservices_1.0</camel:simple>
      </camel:setHeader>
 <to uri="cxf:bean:myWS" />  
 
 <cxf:cxfEndpoint id="myWS"
                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">
                <cxf:properties>
                        <entry key="dataFormat" value="PAYLOAD" />
                </cxf:properties>
                
         <cxf:outInterceptors>
         
         <ref bean="securityInterceptor" />
       
     </cxf:outInterceptors> 
        </cxf:cxfEndpoint>  

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.

Reply via email to