axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <amilasuriarach...@gmail.com>
Subject Re: how to return a respnose from module
Date Sun, 30 Nov 2008 06:27:30 GMT
On Fri, Nov 28, 2008 at 2:45 PM, Michele Mazzucco <
Michele.Mazzucco@ncl.ac.uk> wrote:

> What about using InvocationResponse.ABORT after processing the request in
> your handler?


this is also a  possibility then you need to call the AxisEngine.Send() at
your handler.

thanks,
Amila.

>
>
> Michele
>
>
>
> On 27 Nov 2008, at 19:29, Shah Asrani wrote:
>
>  Hi
>> I have a web service running. The web service has method called
>> "getVersion" and it returns an OMElement.
>> The web service has a custom handler that gets invoked. I set the
>> envelope in the MessageContext.
>> but web service continues and returns the response from the getVersion
>> method.  How can return the respone from custom handler (i.e., I don't
>> want web service to reach to getVersion method and I want to write the
>> response in module.
>>
>> Best Regards,
>>
>> Shah Asrani
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Mime
View raw message