axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Gombotz <>
Subject Re: How to pass information between handlers and services.
Date Thu, 21 Apr 2005 13:34:54 GMT
as far as I know there is no way for a handler to talk to a WS
directly. but you can get the message inside your WS implementation:

in your WS you can get the soap message using
org.apache.axis.MessageContext.getCurrentContext() which gives you an
object of type MessageContext. that you can use just like in your
handlers, so just retrieve any info fram the message you want.

hope I could be of help.


On 4/21/05, Mik Goodhelp <> wrote:
> I am trying to implement  an application  that does the following.
> Assume we have a client :
> startSomething(XMLFLAG)
> call.invoke(EndpointReference_1)
> call.invoke(EndpointReference_2)
> call.invoke(EndpointReference_3)
> An Handler has to intercept the different calls and put the XMLFLAG in
> the SOAPHeader of all the calls.
> On the Provider  side an Handler has to intercept the call, get the
> XMLFLAG from the SOAPHeader and pass it to the provider service.
> In simple words there is a way to directly pass information between
> Client-Services and Client-Handlers and between Provider-Handlers and
> Provider-Services
> ???
> Thanks in advance.

View raw message