One Star

The PayLoad elements cannot fit with the message parts of the Binding

Hello,
I'm following this tutorial => https://help.talend.com/search/all?query=How+to+create+a+Route+using+a+data+service&content-lang=en
using this web service =>
wsdl :http://www-inf.it-sudparis.eu/~nguyen_n/data/tps/bpel/SimpleComputation.wsdl
adress: http://157.159.110.224:9000/CalculatorService/services/SimpleComputation
but i'me getting this error
--------------------------------------------------------------------------------------------------------------
] CxfEndpoint WARN Cannot set right payload parameters. Please check the BindingOperation and PayLoadMessage.
] DefaultErrorHandler ERROR Failed delivery for (MessageId: ID:lmah-PC-50070-1367931389410-3:2:1:1:1 on ExchangeId: ID-lmah-PC-51833-1367938442506-0-1). Exhausted after delivery attempt: 1 caught: java.lang.IllegalArgumentException: The PayLoad elements cannot fit with the message parts of the BindingOperation. Please check the BindingOperation and PayLoadMessage.
java.lang.IllegalArgumentException: The PayLoad elements cannot fit with the message parts of the BindingOperation. Please check the BindingOperation and PayLoadMessage.
at org.apache.camel.component.cxf.CxfEndpoint$CamelCxfClientImpl.setParameters(CxfEndpoint.java:907)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:510)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:456)
at org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:112)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:122)
at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:298)
at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:117)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:334)
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
at org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:46)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:308)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:117)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
at org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:46)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at org.apache.camel.processor.UnitOfWorkProcessor.processAsync(UnitOfWorkProcessor.java:150)
at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:117)
at org.apache.camel.processor.RouteInflightRepositoryProcessor.processNext(RouteInflightRepositoryProcessor.java:48)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:86)
at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:104)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
------------------------------------------------------------------------------------------------------------------

I've used the following request in ActiveMQ queu
------------------------------------------------------------------------------------------------------------------
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cal="http://calculator.bpel.tps">
<soapenv:Header/>
<soapenv:Body>
<cal:divideOfTwoInteger>
<cal:dividor>8</cal:dividor>
<cal:dividend>4</cal:dividend>
</cal:divideOfTwoInteger>
</soapenv:Body>
</soapenv:Envelope>
------------------------------------------------------------------------------------------------------------------
the afformentionned soap request payload is correct and runs perfectly under SoapUI but unfortunatly not in the Talend ESB Studio .
I've tried to remove the spaces and the returns from the request but nothing.
Its been now two days that I'm trying to figure out what's wrong but no result.
any idea??
I'me using Talend ESB Studio 5.3.0r101800
thanks for your help.
4 REPLIES
Community Manager

Re: The PayLoad elements cannot fit with the message parts of the Binding

Hi cryptoboss
Try to input the message body as below in Active MQ queue, as described in this step in the user doc.
3. Enter the message body as shown below in the incoming queue and send the message.
<cal:divideOfTwoInteger>
<cal:dividor>8</cal:dividor>
<cal:dividend>4</cal:dividend>
</cal:divideOfTwoInteger>
If it does not still work, please show us your WSDL file or email it to me.
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: The PayLoad elements cannot fit with the message parts of the Binding

no luck, here is the wsdl
http://www-inf.it-sudparis.eu/~nguyen_n/data/tps/bpel/SimpleComputation.wsdl
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://calculator.bpel.tps" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://calculator.bpel.tps" xmlns:intf="http://calculator.bpel.tps" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:types>
<schema elementFormDefault="qualified" targetNamespace="http://calculator.bpel.tps" xmlns="http://www.w3.org/2001/XMLSchema">
<element name="sumOfTwoInteger">
<complexType>
<sequence>
<element name="x" type="xsd:int"/>
<element name="y" type="xsd:int"/>
</sequence>
</complexType>
</element>
<element name="sumOfTwoIntegerResponse">
<complexType>
<sequence>
<element name="sumOfTwoIntegerReturn" type="xsd:int"/>
</sequence>
</complexType>
</element>
<element name="subtractionOfTwoInteger">
<complexType>
<sequence>
<element name="x" type="xsd:int"/>
<element name="y" type="xsd:int"/>
</sequence>
</complexType>
</element>
<element name="subtractionOfTwoIntegerResponse">
<complexType>
<sequence>
<element name="subtractionOfTwoIntegerReturn" type="xsd:int"/>
</sequence>
</complexType>
</element>
<element name="multiplicationOfTwoInteger">
<complexType>
<sequence>
<element name="x" type="xsd:int"/>
<element name="y" type="xsd:int"/>
</sequence>
</complexType>
</element>
<element name="multiplicationOfTwoIntegerResponse">
<complexType>
<sequence>
<element name="multiplicationOfTwoIntegerReturn" type="xsd:int"/>
</sequence>
</complexType>
</element>
<element name="divideOfTwoInteger">
<complexType>
<sequence>
<element name="dividor" type="xsd:int"/>
<element name="dividend" type="xsd:int"/>
</sequence>
</complexType>
</element>
<element name="divideOfTwoIntegerResponse">
<complexType>
<sequence>
<element name="divideOfTwoIntegerReturn" type="xsd:double"/>
</sequence>
</complexType>
</element>
<element name="squareOfAnInteger">
<complexType>
<sequence>
<element name="x" type="xsd:double"/>
</sequence>
</complexType>
</element>
<element name="squareOfAnIntegerResponse">
<complexType>
<sequence>
<element name="squareOfAnIntegerReturn" type="xsd:double"/>
</sequence>
</complexType>
</element>
<element name="sumOfTwoDouble">
<complexType>
<sequence>
<element name="x" type="xsd:double"/>
<element name="y" type="xsd:double"/>
</sequence>
</complexType>
</element>
<element name="sumOfTwoDoubleResponse">
<complexType>
<sequence>
<element name="sumOfTwoDoubleReturn" type="xsd:double"/>
</sequence>
</complexType>
</element>
<element name="subtractionOfTwoDouble">
<complexType>
<sequence>
<element name="x" type="xsd:double"/>
<element name="y" type="xsd:double"/>
</sequence>
</complexType>
</element>
<element name="subtractionOfTwoDoubleResponse">
<complexType>
<sequence>
<element name="subtractionOfTwoDoubleReturn" type="xsd:double"/>
</sequence>
</complexType>
</element>
<element name="multiplicationOfTwoDouble">
<complexType>
<sequence>
<element name="x" type="xsd:double"/>
<element name="y" type="xsd:double"/>
</sequence>
</complexType>
</element>
<element name="multiplicationOfTwoDoubleResponse">
<complexType>
<sequence>
<element name="multiplicationOfTwoDoubleReturn" type="xsd:double"/>
</sequence>
</complexType>
</element>
<element name="divideOfTwoDouble">
<complexType>
<sequence>
<element name="dividor" type="xsd:double"/>
<element name="dividend" type="xsd:double"/>
</sequence>
</complexType>
</element>
<element name="divideOfTwoDoubleResponse">
<complexType>
<sequence>
<element name="divideOfTwoDoubleReturn" type="xsd:double"/>
</sequence>
</complexType>
</element>
<element name="squareOfAnDouble">
<complexType>
<sequence>
<element name="x" type="xsd:double"/>
</sequence>
</complexType>
</element>
<element name="squareOfAnDoubleResponse">
<complexType>
<sequence>
<element name="squareOfAnDoubleReturn" type="xsd:double"/>
</sequence>
</complexType>
</element>
</schema>
</wsdl:types>
<wsdl:message name="divideOfTwoDoubleResponse">
<wsdlSmiley Tongueart element="impl:divideOfTwoDoubleResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="multiplicationOfTwoDoubleRequest">
<wsdlSmiley Tongueart element="impl:multiplicationOfTwoDouble" name="parameters"/>
</wsdl:message>
<wsdl:message name="sumOfTwoIntegerRequest">
<wsdlSmiley Tongueart element="impl:sumOfTwoInteger" name="parameters"/>
</wsdl:message>
<wsdl:message name="sumOfTwoIntegerResponse">
<wsdlSmiley Tongueart element="impl:sumOfTwoIntegerResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="subtractionOfTwoDoubleResponse">
<wsdlSmiley Tongueart element="impl:subtractionOfTwoDoubleResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="sumOfTwoDoubleRequest">
<wsdlSmiley Tongueart element="impl:sumOfTwoDouble" name="parameters"/>
</wsdl:message>
<wsdl:message name="squareOfAnIntegerResponse">
<wsdlSmiley Tongueart element="impl:squareOfAnIntegerResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="squareOfAnDoubleRequest">
<wsdlSmiley Tongueart element="impl:squareOfAnDouble" name="parameters"/>
</wsdl:message>
<wsdl:message name="multiplicationOfTwoDoubleResponse">
<wsdlSmiley Tongueart element="impl:multiplicationOfTwoDoubleResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="multiplicationOfTwoIntegerRequest">
<wsdlSmiley Tongueart element="impl:multiplicationOfTwoInteger" name="parameters"/>
</wsdl:message>
<wsdl:message name="divideOfTwoIntegerResponse">
<wsdlSmiley Tongueart element="impl:divideOfTwoIntegerResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="squareOfAnDoubleResponse">
<wsdlSmiley Tongueart element="impl:squareOfAnDoubleResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="subtractionOfTwoIntegerRequest">
<wsdlSmiley Tongueart element="impl:subtractionOfTwoInteger" name="parameters"/>
</wsdl:message>
<wsdl:message name="divideOfTwoIntegerRequest">
<wsdlSmiley Tongueart element="impl:divideOfTwoInteger" name="parameters"/>
</wsdl:message>
<wsdl:message name="sumOfTwoDoubleResponse">
<wsdlSmiley Tongueart element="impl:sumOfTwoDoubleResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="subtractionOfTwoIntegerResponse">
<wsdlSmiley Tongueart element="impl:subtractionOfTwoIntegerResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="squareOfAnIntegerRequest">
<wsdlSmiley Tongueart element="impl:squareOfAnInteger" name="parameters"/>
</wsdl:message>
<wsdl:message name="divideOfTwoDoubleRequest">
<wsdlSmiley Tongueart element="impl:divideOfTwoDouble" name="parameters"/>
</wsdl:message>
<wsdl:message name="subtractionOfTwoDoubleRequest">
<wsdlSmiley Tongueart element="impl:subtractionOfTwoDouble" name="parameters"/>
</wsdl:message>
<wsdl:message name="multiplicationOfTwoIntegerResponse">
<wsdlSmiley Tongueart element="impl:multiplicationOfTwoIntegerResponse" name="parameters"/>
</wsdl:message>
<wsdlSmiley TongueortType name="SimpleComputation">
<wsdlSmiley Surprisedperation name="sumOfTwoInteger">
<wsdl:input message="impl:sumOfTwoIntegerRequest" name="sumOfTwoIntegerRequest"/>
<wsdlSmiley Surprisedutput message="impl:sumOfTwoIntegerResponse" name="sumOfTwoIntegerResponse"/>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="subtractionOfTwoInteger">
<wsdl:input message="impl:subtractionOfTwoIntegerRequest" name="subtractionOfTwoIntegerRequest"/>
<wsdlSmiley Surprisedutput message="impl:subtractionOfTwoIntegerResponse" name="subtractionOfTwoIntegerResponse"/>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="multiplicationOfTwoInteger">
<wsdl:input message="impl:multiplicationOfTwoIntegerRequest" name="multiplicationOfTwoIntegerRequest"/>
<wsdlSmiley Surprisedutput message="impl:multiplicationOfTwoIntegerResponse" name="multiplicationOfTwoIntegerResponse"/>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="divideOfTwoInteger">
<wsdl:input message="impl:divideOfTwoIntegerRequest" name="divideOfTwoIntegerRequest"/>
<wsdlSmiley Surprisedutput message="impl:divideOfTwoIntegerResponse" name="divideOfTwoIntegerResponse"/>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="squareOfAnInteger">
<wsdl:input message="impl:squareOfAnIntegerRequest" name="squareOfAnIntegerRequest"/>
<wsdlSmiley Surprisedutput message="impl:squareOfAnIntegerResponse" name="squareOfAnIntegerResponse"/>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="sumOfTwoDouble">
<wsdl:input message="impl:sumOfTwoDoubleRequest" name="sumOfTwoDoubleRequest"/>
<wsdlSmiley Surprisedutput message="impl:sumOfTwoDoubleResponse" name="sumOfTwoDoubleResponse"/>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="subtractionOfTwoDouble">
<wsdl:input message="impl:subtractionOfTwoDoubleRequest" name="subtractionOfTwoDoubleRequest"/>
<wsdlSmiley Surprisedutput message="impl:subtractionOfTwoDoubleResponse" name="subtractionOfTwoDoubleResponse"/>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="multiplicationOfTwoDouble">
<wsdl:input message="impl:multiplicationOfTwoDoubleRequest" name="multiplicationOfTwoDoubleRequest"/>
<wsdlSmiley Surprisedutput message="impl:multiplicationOfTwoDoubleResponse" name="multiplicationOfTwoDoubleResponse"/>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="divideOfTwoDouble">
<wsdl:input message="impl:divideOfTwoDoubleRequest" name="divideOfTwoDoubleRequest"/>
<wsdlSmiley Surprisedutput message="impl:divideOfTwoDoubleResponse" name="divideOfTwoDoubleResponse"/>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="squareOfAnDouble">
<wsdl:input message="impl:squareOfAnDoubleRequest" name="squareOfAnDoubleRequest"/>
<wsdlSmiley Surprisedutput message="impl:squareOfAnDoubleResponse" name="squareOfAnDoubleResponse"/>
</wsdlSmiley Surprisedperation>
</wsdlSmiley TongueortType>
<wsdl:binding name="SimpleComputationSoapBinding" type="implSmiley FrustratedimpleComputation">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdlSmiley Surprisedperation name="sumOfTwoInteger">
<wsdlsoapSmiley Surprisedperation soapAction=""/>
<wsdl:input name="sumOfTwoIntegerRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdlSmiley Surprisedutput name="sumOfTwoIntegerResponse">
<wsdlsoap:body use="literal"/>
</wsdlSmiley Surprisedutput>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="subtractionOfTwoInteger">
<wsdlsoapSmiley Surprisedperation soapAction=""/>
<wsdl:input name="subtractionOfTwoIntegerRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdlSmiley Surprisedutput name="subtractionOfTwoIntegerResponse">
<wsdlsoap:body use="literal"/>
</wsdlSmiley Surprisedutput>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="multiplicationOfTwoInteger">
<wsdlsoapSmiley Surprisedperation soapAction=""/>
<wsdl:input name="multiplicationOfTwoIntegerRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdlSmiley Surprisedutput name="multiplicationOfTwoIntegerResponse">
<wsdlsoap:body use="literal"/>
</wsdlSmiley Surprisedutput>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="divideOfTwoInteger">
<wsdlsoapSmiley Surprisedperation soapAction=""/>
<wsdl:input name="divideOfTwoIntegerRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdlSmiley Surprisedutput name="divideOfTwoIntegerResponse">
<wsdlsoap:body use="literal"/>
</wsdlSmiley Surprisedutput>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="squareOfAnInteger">
<wsdlsoapSmiley Surprisedperation soapAction=""/>
<wsdl:input name="squareOfAnIntegerRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdlSmiley Surprisedutput name="squareOfAnIntegerResponse">
<wsdlsoap:body use="literal"/>
</wsdlSmiley Surprisedutput>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="sumOfTwoDouble">
<wsdlsoapSmiley Surprisedperation soapAction=""/>
<wsdl:input name="sumOfTwoDoubleRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdlSmiley Surprisedutput name="sumOfTwoDoubleResponse">
<wsdlsoap:body use="literal"/>
</wsdlSmiley Surprisedutput>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="subtractionOfTwoDouble">
<wsdlsoapSmiley Surprisedperation soapAction=""/>
<wsdl:input name="subtractionOfTwoDoubleRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdlSmiley Surprisedutput name="subtractionOfTwoDoubleResponse">
<wsdlsoap:body use="literal"/>
</wsdlSmiley Surprisedutput>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="multiplicationOfTwoDouble">
<wsdlsoapSmiley Surprisedperation soapAction=""/>
<wsdl:input name="multiplicationOfTwoDoubleRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdlSmiley Surprisedutput name="multiplicationOfTwoDoubleResponse">
<wsdlsoap:body use="literal"/>
</wsdlSmiley Surprisedutput>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="divideOfTwoDouble">
<wsdlsoapSmiley Surprisedperation soapAction=""/>
<wsdl:input name="divideOfTwoDoubleRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdlSmiley Surprisedutput name="divideOfTwoDoubleResponse">
<wsdlsoap:body use="literal"/>
</wsdlSmiley Surprisedutput>
</wsdlSmiley Surprisedperation>
<wsdlSmiley Surprisedperation name="squareOfAnDouble">
<wsdlsoapSmiley Surprisedperation soapAction=""/>
<wsdl:input name="squareOfAnDoubleRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdlSmiley Surprisedutput name="squareOfAnDoubleResponse">
<wsdlsoap:body use="literal"/>
</wsdlSmiley Surprisedutput>
</wsdlSmiley Surprisedperation>
</wsdl:binding>
<wsdl:service name="SimpleComputationService">
<wsdlSmiley Tongueort binding="implSmiley FrustratedimpleComputationSoapBinding" name="SimpleComputation">
<wsdlsoap:address location="http://157.159.110.224:9000/CalculatorService/services/SimpleComputation"/>
</wsdlSmiley Tongueort>
</wsdl:service>
</wsdl:definitions>
One Star

Re: The PayLoad elements cannot fit with the message parts of the Binding

anyone ?
One Star

Re: The PayLoad elements cannot fit with the message parts of the Binding

I have the same problem.
Any idea please
Here is the exception that t have when trying to send soap message in the payload of cCXF component, the same message is working in my test job using tESBConsumer :
java.lang.IllegalArgumentException: The PayLoad elements cannot fit with the message parts of the BindingOperation. Please check the BindingOperation and PayLoadMessage.
java.lang.IllegalArgumentException: The PayLoad elements cannot fit with the message parts of the BindingOperation. Please check the BindingOperation and PayLoadMessage.
at org.apache.camel.component.cxf.CxfEndpoint$CamelCxfClientImpl.setParameters(CxfEndpoint.java:907)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:510)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:456)
at org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:112)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:122)
at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:298)
at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:117)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:334)
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
at org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:46)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:308)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:117)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at org.apache.camel.processor.FilterProcessor.process(FilterProcessor.java:58)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:334)
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
at org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:46)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:308)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:117)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
at org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:46)
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at org.apache.camel.processor.UnitOfWorkProcessor.processAsync(UnitOfWorkProcessor.java:150)
at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:117)