Hello,

 I have the following camel context:



and my FatalProcesor just throws fault defined in wsdl:


When sending request to http://localhost:9080/hello endpoint, I get the soap
fault as I expect:


.. but http response response code is "200 OK". Why not 500 as it is
returned from cxf endpoint?


If I throw a RuntimeException from processor, I get back response with http
error code 500, but exception is not marshalled:


What I am doing wrong? How to return marshalled RuntimeException and how to
return other faults defined in wsdl with http response code 500?
Thanks in advance.




--
View this message in context: 
http://camel.465427.n5.nabble.com/Help-with-nmr-cxf-endpoints-and-fault-handling-tp5719720.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to