Hi there,

=== Davanum Srinivas asked me to repost this on the dev list :

a previous posting of mine on this (on the Axis2 user's list),  from about two weeks ago was left unanswered that's why I'll give it another try :

I would like to know whether it is possible to to stop a handler chain, in the middle, and return a response from the last handler that executed, WITHOUT throwing an AxisFault or other exception.

For example, I have a handler doing some validation and when validation fails, I don't want to continue; but I also don't want to throw up: what I want to do is return a custom "normal" response, which maybe describes the validation failures, but is not in any way an "error" response.

In a servlet filter chain this is very easy to do, but I haven't figured it out in a Axis2 handler chain. Can anyone help me?

thanks and regards
Heikki Doeleman

Reply via email to