Message body is matching with operation please find the camel code as below:

<camel:setHeader headerName="operationNamespace">
                       
<camel:constant>http://minspa.csi.nsn.com</camel:constant>
                  </camel:setHeader>
                  <camel:setHeader headerName="SOAPAction">
                        <camel:constant>"urn:unsubscribe"</camel:constant>
                  </camel:setHeader>
                  <camel:setHeader headerName="javax.xml.ws.wsdl.operation">
                       
<camel:constant>{http://minspa.csi.nsn.com}unsubscribe</camel:constant>
                  </camel:setHeader>
                  <camel:log message="direct:minispaUnsubscribeService
headers--------- : ${headers}"
                                                           
logName="Redknee_share@once_IL" loggingLevel="INFO" />
                  <recipientList>
                       
<simple>cxf:bean:MINISPAMsbUnsub?address=${property.MINISPA_URL}&amp;dataFormat=PAYLOAD</simple>
                  </recipientList>
                  <camel:convertBodyTo type="java.lang.String" /> 



and the Request body is : 


<min:unsubscribe
xmlns:min="http://minspa.csi.nsn.com";><min:clientId>client1</min:clientId><min:clientPassword>client1</min:clientPassword><min:msisdn>7901900850</min:msisdn><min:packId>10</min:packId><min:chargeable>true</min:chargeable><min:whitelistCheck>1</min:whitelistCheck></min:unsubscribe>




--
View this message in context: 
http://camel.465427.n5.nabble.com/The-PayLoad-elements-cannot-fit-with-the-message-parts-of-the-BindingOperation-tp5750724p5750863.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to