axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <dee...@opensource.lk>
Subject Re: [AXIS2] Redirecting a response from axis2 handler to client
Date Sat, 05 Feb 2011 02:53:04 GMT
You can simply throw an exception inside your handler, or you can return
Invocation.ABORT as the return value

Deepal

> Hi,
>
> I have a custom module deployed on *axis2* server side. While the
> client  request goes to that *handler* in an inflow, i want it should
> create one error response in that *handler* and send back to client
> without doing any further processing or forwarding the client request
> to the Web Service. How can I achieve this, any clue or tutorial please?
>
> Regards,
>
> Sardar Hussain
>
>

Mime
View raw message