Title: Session object in axis
Hi All,
I am new to this mailing list.
I wanted to store variable or java object in session object. Is it possible in axis web service?
Could you please tell me the way of doing it or samples.
Thanks in advance.
Thanks & Regards,
Saravanan
I am wrriting a java bean and exporting it as a web
service. Everting works fine but I need to capture some information from the
session like the IP address from where I get the request etc. I am not sure as
to how to capture the session object in my case. Looking forward or your
help.
tCurrentContext().getSession()
within my service class ?
The idea is to have as many session objects as users,
but only one service class intance (thread safe) which
uses the session object to store/retrieve user data.
Thanks in advance,
TD.
--- Glen Daniels <[EMAIL PROTECTED]> wrote:
>
&
om: Thierry Dupont [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 19, 2002 7:12 AM
> To: [EMAIL PROTECTED]
> Subject: RE: How to write a web service which updates the servlet
> session object ?
>
>
> OK, I undestand that Axis can manage sessions and pass
> the ID in SO
OK, I undestand that Axis can manage sessions and pass
the ID in SOAP headers.
But I don't see from a programmer point of view how I
can read / write from/to the session.
None of the provided examples saves any user
information in the session object. I don't see how
they could ea
service which updates the servlet session object
?
Hello,
I find Axis very interesting.
Amazing how easy it is to publish a web service,
especially stateless service, like getting stock
quotation as show in the example.
However, I think that web applications very often have
to handle user session
engine, and most
servlet engines handle efficently sessions objects
(fetch, expiration)
My question is : how can write an Axis web service
which can update the servlet session object ?
Does anybody have a sample source code ?
Thanks in advance,
Thierry