Rob,

That sounds pretty cool.  Would you mind posting a small example?

Thanks,

Joshua


On 3/5/07, Rasile, Rob <[EMAIL PROTECTED]> wrote:

 One way is to create your own custom fault module (with a fault handler)
and add it to the in-fault/out-fault flow execution chain (which are
comprised of phases).  Within your custom fault handler you can intercept
the axis fault (which by that time is in the message context) and replace it
with something more to your liking (which is what I do).  If you look at the
axis2.xml you'll see these flows and the corresponding phases defined – as
well as where you can add your own phases/handlers.  If you'd like an
example on how to do this let me know and I'll post something tomorrow.


 ------------------------------

*From:* Joshua White [mailto:[EMAIL PROTECTED]
*Sent:* Monday, March 05, 2007 9:26 PM
*To:* [email protected]
*Subject:* [Axis 1.4.x] Strategies for handling exceptions



Hello,



I am looking for some examples on how to best handle checked and unchecked
exceptions.  Is there a "best" way to map to soap faults to return an
intelligent message to your client?  I have not seen many much documentation
or examples about this.  Any help you would be appreciated.



Regards,



Joshua

Reply via email to