In the PAYLOAD dataformat, you need to marshal the SOAP fault detail
yourself, like this[1]
In the MESSAGE dataformat, you need to marshal the whole SOAP fault
yourself, as camel-cxf just redirect the input stream itself.

[1]https://svn.apache.org/repos/asf/camel/trunk/camel/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfConsumerPayLoadMarshalFaultTest.java

--
Willem Jiang

FuseSource
Web: http://www.fusesource.com (http://www.fusesource.com/)
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang
Weibo: willemjiang



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

Reply via email to