Using cookies for session handling with kSOAP

"Brian Rook" <[email protected]> Mon, 8 Mar 2004 20:03:28 -0700
Newsgroups gmane.comp.java.enhydra.ksoap
Message-ID <00bc01c40583$1a09efd0$6400a8c0@hammett>
There was a question in October 2002 about handling session with cookies
using kSOAP.  I see how one might alter HttpTransport to retrieve cookie
information.  I have implemented this and received the cookie in the client.

My question is how does one retrieve the session using kSOAP's SoapServlet.
I'm assuming that one would add the cookie back as a parameter in an RPC
call.  However, I would like to access some items stored in session in my
soap servlet in my soap service.  At the time that you make the method call
into your service, you do not have access to the request and therefore
session anymore.  How do you get instances of those objects from the
service?  Would I have to change SoapServlet in order to get the results I
need?

brian