Pasha...
Yes, your service can maintain session state for each client.  Look in the
archives for a thread "stateful web services".  Basically, you need to do
two things:
Put this line in deployment descriptor...
   <parameter name="scope" value="session"/>
Put this line in your client...
   call.setMaintainSession(true);
Stan

----- Original Message -----
From: "Pasha Shabalin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 6:54 AM
Subject: General beginners question: State persistence?


> Hello,
>
> i have a general question to SOAP. Hope it is still ok to post it here.
>
> Which options do i have for having stateful objects on the SOAP server? So
> that the client "holds" a reference to one object, which preserves it's
> state between client calls, until client somehow decides to drop the
object.
>
> ;-) of course except of self-coding session IDs and "by hand" storing
object
> state in a database on every call
>
> thanks, have a nice day
> pasha
>
>
>

Reply via email to