Hi Dan,
I can get the exception using message.getContent(Exception.class).
After I got the exception I would like to add some more information and
I would like to create a SoapMessage and insert it into the output stream.
After that I would like to suppress the exception or remove the
exception from the existing message object.
Is it possible to do these?
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.