You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Maciek Zywno <m....@amg.net.pl> on 2004/03/02 12:53:02 UTC

axis handlers - how to check whether it is request or response invocation?

hello

I am doing a simple authentication mechanism by means of an axis 
handler. This handler is to do different things depending on whether it 
was invoked for request or response. The problem is that I don't know 
how to check in a handler whether it is a request or response handler 
invocation. I tried:

getPastPivot - but always returns false in my case - any suggestion what 
can be wrong?
getResponseMesage was checked aginst null - I thought that in request 
handler invocation response message is null?

what can be used to check if it is response or request ?

regards

Re: axis handlers - how to check whether it is request or response invocation?

Posted by Maciek Zywno <m....@amg.net.pl>.
Maciek Zywno wrote:

> hello
>
> I am doing a simple authentication mechanism by means of an axis 
> handler. This handler is to do different things depending on whether 
> it was invoked for request or response. The problem is that I don't 
> know how to check in a handler whether it is a request or response 
> handler invocation. I tried:
>
> getPastPivot - but always returns false in my case - any suggestion 
> what can be wrong?
> getResponseMesage was checked aginst null - I thought that in request 
> handler invocation response message is null?
>
> what can be used to check if it is response or request ?
>
> regards
>
excuse me - it was my silly mistake
my deploy.wsdd was wrong