cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <>
Subject Re: Replace Fault with custom response
Date Wed, 02 Jun 2010 16:41:31 GMT

Within the outbound error handling interceptor chain you can probably modify
the response via SAAJ or DOM to change the SOAP fault to a SOAP response
object.  Still, though, the fault handling system is defined with the JAX-WS
specification and is precisely what SOAP clients should be expecting.  I'm
not sure what would be gained by leaving the standard.


Ronald Pieterse wrote:
> Hi,
> I would like to replace all Faults with my own response object to keep the
> Faults from my clients. So I mean not wrap them into another object but
> really replace the Fault object with my own Response.
> What would be the best way to do this? I read something about extending
> the JAXWSMethodInvoker but its not clear how that should work for me.
> Should I replace some interceptors on the outgoing chain?
> Can someone help me out here?
> Ronald

View this message in context:
Sent from the cxf-user mailing list archive at

View raw message