RE: Camel-CXF will generate invalid XML in some cases

2015-04-17 Thread Siano, Stephan
[mailto:willem.ji...@gmail.com] Sent: Mittwoch, 15. April 2015 17:43 To: users@camel.apache.org Subject: Re: Camel-CXF will generate invalid XML in some cases Hi Stephan, How did you turn the payload body into String? If you use the CxfPayload.getBody() you should get the a list of element which

Camel-CXF will generate invalid XML in some cases

2015-04-15 Thread Siano, Stephan
Hi, I am currently trying to debug an issue that is actually driving me crazy. I am calling a web service from a camel cxf endpoint in payload mode that returns data that uses a namespace in an attribute name that is defined on the SOAP envelope of the response. If I convert the CxfPayload

Re: Camel-CXF will generate invalid XML in some cases

2015-04-15 Thread Willem Jiang
Hi Stephan, How did you turn the payload body into String? If you use the CxfPayload.getBody() you should get the a list of element which namespaces are set rightly. The PayLoadDataFormatFeature[1] just setup the interceptors for CXF to avoid processing the message part. I guess that is the