In handleFault() method (inbound interceptor), I want to create a fault message from the exception and then I want to send it to my outbound handle.
Is there a way to do this?

Thanks
Steve

On 6/8/2011 1:33 PM, Daniel Kulp wrote:
On Wednesday, June 08, 2011 10:07:56 AM STEVEN THEIN wrote:
Hi,

I created an inbound interceptor on server side which have two override
methods:-

handleMessage() and handleFault()

When an exception is thrown while processing the message in
handleMessage(),  it called into handleFault() method.
In handleFault() method, how can I retrieve the fault that was thrown
from handleMessage().
I think you can call message.getContent(Fault.class) or
message.getContent(Exception.class).   Likely the latter.


Reply via email to