You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Pavel Hlavnicka <pa...@gingerall.cz> on 2000/11/15 12:36:17 UTC

Sessions with Tomcat; another newbie question

Hi all

I'm going to use SOAP in the following model.

0. I use SOAP in conjunction with Tomcat
1. I run Tomcat standalone (w/o Apache)
2. Tomcat is requested by finite group of computers (very finite:)
3. Each computer needs keep several sessions
4. Clients are Perl programs requiring document via SOAP

If I deploy a class as "Session", one instance per session is 
maintained, OK?

Session is kept by Tomcat, OK?

How can I establish/drop session between my client and Tomcat?

Maybe it is more Tomcat question, but related to SOAP very closely.

Thanks in advance

Pavel

-- 
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic


Re: Sessions with Tomcat; another newbie question

Posted by Pavel Hlavnicka <pa...@gingerall.cz>.
I've solved it, all I need is

1. extract cookie from the first response
2. add teh value of cookie into proxy url (like 
..../soap/rpcrouter;jsessionid=blahblahblah

P

Pavel Hlavnicka wrote:

> Hi all
> 
> I'm going to use SOAP in the following model.
> 
> 0. I use SOAP in conjunction with Tomcat
> 1. I run Tomcat standalone (w/o Apache)
> 2. Tomcat is requested by finite group of computers (very finite:)
> 3. Each computer needs keep several sessions
> 4. Clients are Perl programs requiring document via SOAP
> 
> If I deploy a class as "Session", one instance per session is 
> maintained, OK?
> 
> Session is kept by Tomcat, OK?
> 
> How can I establish/drop session between my client and Tomcat?
> 
> Maybe it is more Tomcat question, but related to SOAP very closely.
> 
> Thanks in advance
> 
> Pavel


-- 
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic


Re: Sessions with Tomcat; another newbie question

Posted by Pavel Hlavnicka <pa...@gingerall.cz>.
I've solved it, all I need is

1. extract cookie from the first response
2. add teh value of cookie into proxy url (like 
..../soap/rpcrouter;jsessionid=blahblahblah

P

Pavel Hlavnicka wrote:

> Hi all
> 
> I'm going to use SOAP in the following model.
> 
> 0. I use SOAP in conjunction with Tomcat
> 1. I run Tomcat standalone (w/o Apache)
> 2. Tomcat is requested by finite group of computers (very finite:)
> 3. Each computer needs keep several sessions
> 4. Clients are Perl programs requiring document via SOAP
> 
> If I deploy a class as "Session", one instance per session is 
> maintained, OK?
> 
> Session is kept by Tomcat, OK?
> 
> How can I establish/drop session between my client and Tomcat?
> 
> Maybe it is more Tomcat question, but related to SOAP very closely.
> 
> Thanks in advance
> 
> Pavel


-- 
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic