axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Soactive Inc" <soact...@gmail.com>
Subject Re: Handlers and Dynamic Header info
Date Wed, 22 Mar 2006 17:50:18 GMT
Have the caller enter this data into the SOAP header when they make the
service call and then read it from the message header in your server-side
handler to use/process it. By design, standard (Axis/RPC) handlers are
thread-safe.

On 3/22/06, Michael Rasmussen <razmaspaz@gmail.com> wrote:
>
> Hi,
>   I have just written a handler to insert an element into my header.  This
> works fine.  Now I need to be able to insert a value into the header on a
> per call basis ( I need a different value determined by the caller).
>
> I should note here that I don't know why this isn't a parameter in the
> method, but then again I didn't write the service, so I don't have any
> control over it.
>
> Basically what I need is a way for the caller to either insert into the
> MessageContext or something similar.  As expected whatever solution I use
> has to be threadsafe.  One thing I considered was to create a hash map that
> is the value with the thread id as the hash.  Does anyone know how to
> accomplish what I am talking about?
>
> Thanks in advance,
> Michael Rasmussen
>

Mime
View raw message