Hi,
I'm sorry if this problem has already been discussed in this group. I am using Apache SOAP 2.2 with Apache TomCat 4.0. and facing a problem with HttpSession that is extracted from SOAPContext.

This is how i'm extracting the session object:

javax.servlet.http.HttpSession session = (javax.servlet.http.HttpSession)
reqCtx.getProperty(Constants.BAG_HTTPSESSION);

The jsp forms the SOAP message and calls web service method twice in one call.  But the Httpsession object being extracted (in the web service method) is different each time! It is supposed to be returning the same session object since the calls are from the same user session.

In the deployment descriptor of SOAP service, the scope given is "Application".

If anyone has come across the same scenario, can you please give some lead?

Thanks in advance,

Jai.



Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day

Reply via email to