Re: Error handling when using camel-cxf

2012-12-14 Thread Aki Yoshida
Hi Lars, So the camel endpoint you have at the end of the route is a cxf endpoint, as you talk about a SOAP fault from the end of the route? In a request-response scenario, you will get the SOAP fault transferred back to the other end of the route and this is typically returned as an HTTP 500 SOAP

Re: Error handling when using camel-cxf

2012-12-13 Thread helander
Aki, thanks for the feedback. At the moment I am only using request/response (InOut). If the service (called by the end of the route) returns a SOAP Fault, will then the cxf-endpoint make sure that the http status code returned to the caller becomes 500? Do the cxf-endpoint force the return of a

Re: Error handling when using camel-cxf

2012-12-12 Thread Aki Yoshida
The behavior differs depending on the configuration. I'll try to give a short overview. If you have a request-response type service, the exception is normally transferred to the caller. In that case, the corresponding soap fault is returned to the caller and the http code is 500 for such general s