Engaging addressing module fixed the problem. I also need to extract service group id and set it in soap header for all requests in the same session. It would be nice to have a option in wsdl2java to generate these codes.
Thanks -----Original Message----- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Sunday, July 30, 2006 10:38 PM To: axis-user@ws.apache.org Subject: Re: stateful web service did you engage addressing module ? if yes serviceGroupId is inside the was:ReplyTo header. Shaowei Mao wrote: > Hi, I implemented a web service by generating stub and skeleton from > wsdl. Now I want to turn them into stateful. I have been looking > through mailing list and found that I need to set service scope to > soapsession and store state in the service group context. I did set > the service scope to soapsession in the services.xml, but service > didn't return service group id to the client and each time I invoked > service, axis2 created a new instance for service implementation > class. What else do I need to change in order to make it work? > > Shaowei Mao > > aMind Solutions LLC > > Phone: 425-313-3107 > > Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > website: www.amindsolutions.com > -- Thanks, Deepal ................................................................ ~Future is Open~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]