Thanks for your reply, >> Either use http sessions or SOAP sessions
Do you know of any resource where I can learn how to use SOAP sessions? Are you referring to the use of SimpleSessionHandler? If yes then some configuration would be required on the client side. How do you publish the requirement for such a configuration? Is there a way to indicate that in the wsdl? Cause isn't the wsdl supposed to be the only document the client-user should need to create a client program. Thanks in advance for your help. Vikas -----Original Message----- From: sandeep arshanapally [mailto:[EMAIL PROTECTED] Sent: Friday, December 17, 2004 8:16 AM To: [EMAIL PROTECTED] Subject: Re: http sessions with non browser clients. Either use http sessions or SOAP sessions. In either case there has to be some code on the client side to do this...But if you worried about non-browser clients then go with the SOAP sessions and manage sessions yourself on the server-side. On Thu, 16 Dec 2004 18:02:42 -0800, Vikas Phonsa <[EMAIL PROTECTED]> wrote: > Hi Everybody, > > I have learned that in order to maintain sessions in web services that > use Apache Axis some effort (configuration) is required on the client > side. > > If the client is a browser, then it can send the session cookie back to > the server on itself. But web services clients could be stand alone java > programs and you can't guarantee that the clients would send the cookie > back to you. You can't force the client developers to follow the steps > to maintain the session. In that case each web service request could end > up creating a new session and this would not be desirable at all. > > I can turn the session management off on server side (I'll be using web > sphere), but then it would turn it off for every client, whereas I do > want to maintain sessions for clients who would be able to send the > session cookie back. And on the other side I don't want each request to > keep on creating new sessions when session is not returned. > > Any ideas about how to approach this issue? > > Thanks in advance. > > Vikas > >