Timothy,

Should I be calling setMaintainSession before the first method invocation on the

service instance.  Right now I have called it between the first and second
method calls and axis behaves as if I'm not using session scope.  I would have
tried this before asking, but I'm snowed in at home and my code is at work.

TIA,

Neil

"Almeida, Timothy" wrote:

> There's no need to call setMaintainSession() more than once to keep the
> session alive, provided you're using the same service instance on successive
> calls. (I've tried this, so I know it works.)
>
> >  -----Original Message-----
> > From:         Hainer Neil [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 25, 2003 4:10 PM
> > To:   AXIS User
> > Subject:      Code for Session Scope
> >
> > Hi,
> >
> > I'm confused about the following:
> >
> > I have a service which has it's scope set to "session".  Do I still code:
> >
> > service object.setMaintainSession(true);
> >
> > between method invocations to keep the original session alive?
> >
> > Thanks,
> >
> > Neil
> >
> >     Neil Hainer
> >  << OLE Object: Picture (Metafile) >>
> >     8283 Greensboro Drive
> >     McLean, Virginia  22102-3838
> >     703-902-6828
> >     [EMAIL PROTECTED]
> >
begin:vcard 
n:Hainer;Neil
tel;cell:703-470-6343
tel;work:703-902-6828
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Hainer Neil
end:vcard

Reply via email to