Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 10164 invoked from network); 31 Jul 2006 19:44:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Jul 2006 19:44:52 -0000 Received: (qmail 19995 invoked by uid 500); 31 Jul 2006 19:44:45 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 19979 invoked by uid 500); 31 Jul 2006 19:44:45 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 19967 invoked by uid 99); 31 Jul 2006 19:44:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2006 12:44:45 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [68.142.200.238] (HELO smtp103.biz.mail.mud.yahoo.com) (68.142.200.238) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 31 Jul 2006 12:44:44 -0700 Received: (qmail 86758 invoked from network); 31 Jul 2006 19:44:19 -0000 Received: from unknown (HELO sillypilly) (smao@amindsolutions.com@63.231.56.162 with login) by smtp103.biz.mail.mud.yahoo.com with SMTP; 31 Jul 2006 19:44:19 -0000 Reply-To: From: "Shaowei Mao" To: Subject: RE: stateful web service Date: Mon, 31 Jul 2006 12:44:20 -0700 Organization: Amind Solutions MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: Aca0Y5kZIIi7P9WVSF+e5BtxvNCBvAAdY9EQ In-Reply-To: <44CD973F.3010705@opensource.lk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20060731194444.9F6ED10FB00F@asf.osuosl.org> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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:deepal@opensource.lk] 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: smao@amindsolutions.com > > website: www.amindsolutions.com > -- Thanks, Deepal ................................................................ ~Future is Open~ --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org