Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 88742 invoked from network); 4 Mar 2011 10:28:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Mar 2011 10:28:11 -0000 Received: (qmail 5599 invoked by uid 500); 4 Mar 2011 10:28:09 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 4829 invoked by uid 500); 4 Mar 2011 10:28:08 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 4404 invoked by uid 99); 4 Mar 2011 10:28:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 10:28:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of wadienil@gmail.com designates 74.125.83.47 as permitted sender) Received: from [74.125.83.47] (HELO mail-gw0-f47.google.com) (74.125.83.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 10:28:02 +0000 Received: by gwj18 with SMTP id 18so811003gwj.34 for ; Fri, 04 Mar 2011 02:27:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=xZ86/mpmUjwPDriWN+b02eISqRVti7WH1RnXtciK0YQ=; b=YYaehFFMGEp2j4T5TP9aMnXXr+YV6kAbwgRD1ecjKF6A+UupAXztMIRX71x5HE5ERt MzPdkE1pz6gAZUyAvgd1fugntkwLWmLAD6cu5PqDYJnr7/3aSsinBcVKuLLxyO4RS4w0 inCAS5Kabhp5F9kPna4IfbEHPVR9GBTn5EDnk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=dOWdHkpXY22847bWyvcZl3GuACiy/j5j9GN5WCiCiO2XkTTe9YrMpnFQcS4ZmqnbyU xQAyDJa+h1diIiX48BrL+P4BTsIs+K307GvnSsOtrl77ZcrBjbLLWy/heZzWVPD/fZkM MGnQEzFYZsvk1NX8XEA66RBWoVhQf+msWKzHE= MIME-Version: 1.0 Received: by 10.151.25.3 with SMTP id c3mr341261ybj.433.1299234461289; Fri, 04 Mar 2011 02:27:41 -0800 (PST) Received: by 10.150.52.19 with HTTP; Fri, 4 Mar 2011 02:27:41 -0800 (PST) Date: Fri, 4 Mar 2011 10:27:41 +0000 Message-ID: Subject: Session management in AXIS2 - questions From: wadi wadi To: java-user@axis.apache.org, java-dev@axis.apache.org Content-Type: multipart/alternative; boundary=000e0cd25dfe8b8f05049da598b5 --000e0cd25dfe8b8f05049da598b5 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I developed a axis2 webservice that returns an incremental value i+10 at each request, for example 10, 20, 30, ...etc for each successive request I need to provide a "client-based" session management to the webservice. To explain here is the scenario: client A requests the webservice a session will be created and initial value is returned 10 client B requests the same webservice and nother corresponding session will be created, value returned 10 client A requests the ws, value returned 20 client A requests the ws, value returned 30 client A requests the ws, value returned 40 client B requests the ws, value returned 20 Which kind of session scope to use (soap, transport, application) and why? I tried the transport session but it doesn't differentiate between the two different clients even if the two clients are interacting from different machines. Any idea? Thanks for your help. --000e0cd25dfe8b8f05049da598b5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,

I developed a axis2 webservice that returns an incremental v= alue i+10 at each request, for example 10, 20, 30, ...etc for each successi= ve request
I need to provide a "client-based" session manageme= nt to the webservice. To explain here is the scenario:

client A requests the webservice a session will be created and initial = value is returned 10
client B requests the same webservice and nother co= rresponding session will be created, value returned 10
client A requests= the ws, value returned 20
client A requests the ws, value returned 30
client A requests the ws, va= lue returned 40
client B requests the ws, value returned 20


W= hich kind of session scope to use (soap, transport, application) and why? I tried the transport session but it doesn't differentiate between the = two different clients even if the two clients are interacting from differen= t machines.

Any idea?

Thanks for your help.

--000e0cd25dfe8b8f05049da598b5--