You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Saravanan Bellan <sa...@siteROCK.com> on 2000/10/19 23:03:26 UTC
SOAP Sessions.
If my SOAP CLient is a stand alone Java program, how would I maintain a
session scoped SOAP server object across the multiple calls I make from my
stand alone java program.
How will the server know these requests are from the same SOAP Client.
Thanks,
-sarva
Re: SOAP Sessions.
Posted by George I Matkovits <ma...@uswest.net>.
On the 1st connection (with a keep-alives capable Server) it sets a cookie in
you client's environment and your connection will be against the same session
on the Server side. You MUST have a 'keep-alive' capable Server like Apache.
You then can use it as a proxy with Tomcat behind it. Set up is really
trivial, I have this Apache/Tomcat combination running on both Windows2000 and
Linux. Without this kind of setup SSL sessions are useless.
Regards - George
p.s. The documentation for this is within the doc directory of Tomcat (I use
V3.2B1, older version do not support this capability correctly. I am sure that
the new TomcatV4 will be even better, I just do not have the time to try it!
(-:
Saravanan Bellan wrote:
> If my SOAP CLient is a stand alone Java program, how would I maintain a
> session scoped SOAP server object across the multiple calls I make from my
> stand alone java program.
>
> How will the server know these requests are from the same SOAP Client.
>
> Thanks,
> -sarva
Re: SOAP Sessions.
Posted by chuck clark <cc...@ziclix.com>.
why not run in a servlet engine? then you get that functionality for free...
session is pretty well fleshed out and working in most servlet engines these
days and it woud be a lot less error prone
implementing it yourself is a pretty big task...but if you decide to i'd
refer to the RFC on session and HTTP state management
try jakarta or resin from caucho.com if you decide to go the servlet engine
route
chuck
Saravanan Bellan wrote:
> If my SOAP CLient is a stand alone Java program, how would I maintain a
> session scoped SOAP server object across the multiple calls I make from my
> stand alone java program.
>
> How will the server know these requests are from the same SOAP Client.
>
> Thanks,
> -sarva
Re: SOAP Sessions.
Posted by George I Matkovits <ma...@uswest.net>.
On the 1st connection (with a keep-alives capable Server) it sets a cookie in
you client's environment and your connection will be against the same session
on the Server side. You MUST have a 'keep-alive' capable Server like Apache.
You then can use it as a proxy with Tomcat behind it. Set up is really
trivial, I have this Apache/Tomcat combination running on both Windows2000 and
Linux. Without this kind of setup SSL sessions are useless.
Regards - George
p.s. The documentation for this is within the doc directory of Tomcat (I use
V3.2B1, older version do not support this capability correctly. I am sure that
the new TomcatV4 will be even better, I just do not have the time to try it!
(-:
Saravanan Bellan wrote:
> If my SOAP CLient is a stand alone Java program, how would I maintain a
> session scoped SOAP server object across the multiple calls I make from my
> stand alone java program.
>
> How will the server know these requests are from the same SOAP Client.
>
> Thanks,
> -sarva
Re: SOAP Sessions.
Posted by chuck clark <cc...@ziclix.com>.
why not run in a servlet engine? then you get that functionality for free...
session is pretty well fleshed out and working in most servlet engines these
days and it woud be a lot less error prone
implementing it yourself is a pretty big task...but if you decide to i'd
refer to the RFC on session and HTTP state management
try jakarta or resin from caucho.com if you decide to go the servlet engine
route
chuck
Saravanan Bellan wrote:
> If my SOAP CLient is a stand alone Java program, how would I maintain a
> session scoped SOAP server object across the multiple calls I make from my
> stand alone java program.
>
> How will the server know these requests are from the same SOAP Client.
>
> Thanks,
> -sarva