You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by Swapna Soni <sw...@cisco.com> on 2009/05/13 08:53:49 UTC
How to terminate inflow and start outflow to send custom response to client from a custom handler.
Hi Axis Team,
I have very urgent requirment that is, My client program invoke one
service and i have one custom module engage in that service. When the inflow
handler of the module get execute we are doing some validation and if any
validation fails, i want it should not process further engaged modules,
should not invoke service and from there it should send back one custom
response back to the client.
Could you please let me know how can i achieve it. This requirement is
very very urgent for me.
Thanks and Regards,
Swapna Soni.
Re: How to terminate inflow and start outflow to send custom response
to client from a custom handler.
Posted by Håkon Sagehaug <Ha...@bccs.uib.no>.
Hi
You could look here [1] and use the Abort instead of Continue as one uses
for normal execution. Have not so much experience in module in axis2 though,
so I might be wrong here.
cheers, Håkon
[1]
http://ws.apache.org/axis2/1_1/api/org/apache/axis2/engine/Handler.InvocationResponse.html
2009/5/13 Swapna Soni <sw...@cisco.com>
> Hi Axis Team,
>
> I have very urgent requirment that is, My client program invoke one
> service and i have one custom module engage in that service. When the
> inflow
> handler of the module get execute we are doing some validation and if any
> validation fails, i want it should not process further engaged modules,
> should not invoke service and from there it should send back one custom
> response back to the client.
>
> Could you please let me know how can i achieve it. This requirement is
> very very urgent for me.
>
> Thanks and Regards,
> Swapna Soni.
>
--
Håkon Sagehaug, Scientific Programmer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)