camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "valerian.merkling" <>
Subject How to use a cxf consumer in camel
Date Wed, 10 Apr 2013 15:41:19 GMT
Hi !

I'm currently unable to win against this error : /The PayLoad elements
cannot fit with the message parts of the BindingOperation. Please check the
BindingOperation and PayLoadMessage/ which come with this warning :
/ Cannot set right payload parameters. Please check the BindingOperation and

As far as i read, it seems the message i'm trying to send isn't correct, but
i don't understand what is wrong.

Here is my route definition :

    <cxf:cxfEndpoint id="esb-metier-ws"

        < ... >
        <route id="central-file-in">
            <from uri="file:{{}}?delete=true"  />     
            <convertBodyTo type="java.lang.String"/>       
            <to uri="activemq:topic:central"/>

        <route id="central-ws-out">
            <from uri="activemq:topic:central"/>            
            <to uri="cxf:bean:esb-metier-ws?dataFormat=PAYLOAD"/>

My goal is to be able to send soap message to from multiple route.

For test purpose, i also have a producer route (loaded on a different
server) :

<route id="central-ws-test" streamCache="true">
            <from uri="cxf:bean:esb-test-ws?dataFormat=PAYLOAD"/>
            <log message="${in.body}"/>
            <to uri="test-response-test"/>


With Soapui, i sent à few request, and my producer central-ws-test showed my
the payload was 

   <q0:CreerOuModifierCargaisons xmlns:q0="http://webservices.basemetier/"

But if i use it as input this content as file, and send it with camel, i got
the error message.

I also tried the remove the namespace stuff, or use the /portName/ params to
specify wich operation i want to use, but i still have this error ...

Can someone help me ?


Valerian Merkling

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message