Hi all,

Could someone plz. explain me the diff between session management using 
cookies and SOAP headers? What is the default in Axis? 

I have the following problem:

I am talking to a Axis based web service from inside a Jetspeed portlet
(for our purpose, we can assume it's a servlet). Different users access
the servlet from various machines, and the servlet container maintains
their sessions.  Now I want to maintain sessions between the servlet
container machine and the web service. I am using
stub.setMaintainSession(true), but it's not doing the trick.

The reason is service requests from different users come from the same
machine (the servlet container machine), so that the web service thinks
that it's the same session, even if I am using different stubs for
different users.

Does SOAP header based session management solve this problem? If yes, how 
do I switch to it from Cookie-based?

Thanks in advance 
Sandeep

Reply via email to