My question is to display the current session id in a 'scope=soapsession' as a proof that I am in the same session I don't need it to resend the message. It is handled automatically by axis.
Now if in a soap session the unique identifier is servicegorupID, any example code to display it? Manhy thanks. W On Tue, Mar 15, 2011 at 9:34 AM, Stadelmann Josef < [email protected]> wrote: > Just to avoid a missmatch; > > Are you in fact trying to keep talking to the same session. I assume that > because you said that you use scope="soapsession". In this regard you will > propabbly not have to re-send the sessionId, but the servicegroupId. > Otherwhsie the sessionCookyis what you need to resend too, but that seems to > be handeled by the axis2 client itself if it works in scope="soapsession". > > I only had to configure it however for my custome binding in a MS WCF > client that it sends the sessionCooky with each request to fake the server; > there I had to manually intercept the incoming and the outgoing messages as > well to re-insert the servicegorupID > > Josef > > -----Ursprüngliche Nachricht----- > Von: Jorge Medina [mailto:[email protected]] > Gesendet: Donnerstag, 10. März 2011 22:30 > An: [email protected] > Betreff: Re: how to get the sessionID of a soap session > > Web Services are supposed to be sessionless. > > Nevertheless, you can instruct Axis2 to keep the session cookie for > stickyness > > > http://markmail.org/search/?q=Axis2++JSESSIONID++cookie+list%3Aorg.apache.ws.axis-user#query:Axis2%20%20JSESSIONID%20%20cookie%20list%3Aorg.apache.ws.axis-user+page:1+mid:ays5y6wu2uddd3br+state:results > > > > > On Thu, Mar 10, 2011 at 12:59 PM, wadi wadi <[email protected]> wrote: > > Hi, > > I am still looking for a way to extract the sessionId of a soap session. > > Can you help please? > > Many thanks. > > --------------------------------------------------------------------- > 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] > > -- Wadienil.
