You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Riggy Software <ri...@hotmail.com> on 2019/01/03 14:51:21 UTC

CXFPayload Elements not set

Hi,

I wonder if someone can help me locate a fault I’m having trying to send a PAYLOAD request.

The PayLoad elements cannot fit with the message parts of the BindingOperation. Please check the BindingOperation and PayLoadMessage.

I have set the operationName and operationNamespace so no trouble there, but the payload object itself which is somehow populated to the Exchange.in.mandatoryBody (not sure where this happens), does not contain any matching elements, it has only 1 element [ns2:Envelope: null]. Any hint on how to resolve this would be gratefully received.


Thanks in advance.

Kind regards,
Naseem



Re: CXFPayload Elements not set

Posted by Riggy Software <ri...@hotmail.com>.
Maybe I should also mention that the body is being created by the SoapJaxbDataFormat.marshal method, and logging of the body shows the soap xml message string to be what I would expect.

Regards,
Naseem



On 3 Jan 2019, at 14:51, Riggy Software <ri...@hotmail.com>> wrote:

Hi,

I wonder if someone can help me locate a fault I’m having trying to send a PAYLOAD request.

The PayLoad elements cannot fit with the message parts of the BindingOperation. Please check the BindingOperation and PayLoadMessage.

I have set the operationName and operationNamespace so no trouble there, but the payload object itself which is somehow populated to the Exchange.in.mandatoryBody (not sure where this happens), does not contain any matching elements, it has only 1 element [ns2:Envelope: null]. Any hint on how to resolve this would be gratefully received.


Thanks in advance.

Kind regards,
Naseem