Hi,

I have a simple test.HelloWorld service which is deployed to ServiceMix
4.4.2 (Camel 2.8.5). The service has one operation: 



The service is exposed using cxfEndpoint. The endpoint passes the payload to
FatalProcessor. The processor just throws CantTalkFault.

Camel context looks like this:


After calling this "service", I get a SOAP fault, with an empty "detail"
tag. The exception in logs is:


Now if I change the dataFormat to POJO, the "detail" tag has all the info
from CantTalkFault - desired result. No errors in the log. The response
looks like:


With the dataFormat set to MESSAGE, SOAP fault has no "detail" tag at all.
The exception in logs is:


Is this all an expected behavior? Can you please shed light on this... I'm
basically interested in being able to throw a SOAP fault with details in
PAYLOAD mode, since I need to do some XSLT processing.

Thanks,
Viktoras





--
View this message in context: 
http://camel.465427.n5.nabble.com/CXF-component-fails-to-marshal-SOAP-fault-details-tp5718686.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to