Not sure I understood the solution you are proposing.
I already have a servlet that is making the call to the endpoint.
In our environment all the application servers sit behind load balancers
(that do not have session replication turned on for some reason -- if
session replication was turned on, my problems would be a non-issue).
The servlet in my case needs to find the right instance of the app server
with the information in memory (using a backend database to store that
information was not a possibility).
Since the servlet is also loadbalanced, and subsequent calls could
go to servlets in other instances, using the Axis session solutions
proposed in the FAQ do not work.
The only way I know to fake out the loadbalancer is to get the
actual jsessionid from the first call and use it to find the
instance with the Axis service that serviced my original call.
Conrad
Original Message:
-----------------
From: Mental Patient [EMAIL PROTECTED]
Date: Thu, 21 Aug 2003 11:58:21 -0400
To: [EMAIL PROTECTED]
Subject: Re: [Fwd: RE: accessing the HTTP Headers in the Response]
[EMAIL PROTECTED] wrote:
> Girish,
>
> No -- Call.getMessageContext().getProperty("JSESSIONID") returned a NULL.
>
> So I dumped all the propertynames in the MessageContext after the return
> from invoke() and got this ...
>
Since soap is supposed to be transport agnostic, I'd be suprised if
there was an easy way to do this. Since you just want the cookie for
load ballancing and it has nothing to do with the actual soap service
(or does it?), why not write a small proxy servlet that sits between
soap and the http server. It can do the usual servlet stuff, get the
cookie perform whatever action it needs, then forward the request to the
soap service. Just a thought. Seems like a waste to couple the cookie to
the soap service. Then again, I missed the begining of this thread, so I
could be way off base.
--
Mental ([EMAIL PROTECTED])
"The Torah... The Gospels... The Koran...
Each claimed as the infallible word of GOD.
Misquoted, misinterpreted, misunderstood, and misapplied.
Maybe that's why he doesn't do any more interviews." - sinfest.net
CARPE NOCTEM, QUAM MINIMUM CREDULA POSTERO.
GPG public key: http://www.neverlight.com/pas/Mental.asc
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .