You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Rajesh Patel <rp...@connecterra.com> on 2005/06/24 14:32:46 UTC
RE: .net client issue for session management
Also I don't see any JSESSIONID in cookie area while watching under tcpmon. Am I doing something wrong? Java client runs fine and behaves as expected but .net client raises issue on second method call.
-Raj
________________________________________
From: Rajesh Patel [mailto:rpatel@connecterra.com]
Sent: Thursday, June 23, 2005 5:17 PM
To: axis-user@ws.apache.org
Subject: .net client issue for session management
I am using axis 1.2.1. I am implementing session management by adding --deployScope Session option for server side stub generation. I created java client with serviceLocator.setMaintainSession(true); for client stub locator and it works as expected for java client.
I am trying to consume webservice on .net client by adding clientStub.CookieContainer = new CookieContainer(). When I make first call I see cookie returned by axis server side and requests after that includes cookie reference with Cookie: 7=; 7=
in http header section under tcpmonitor utility.
For some reason second call creates new instance on server side instead of using existing instance on server side eventhough it has cookie reference. After 2nd call all the rest of the method calls picks up existing instance on server side. Does anyone know why second call does not pickup existing instance and why axis creates new instance eventhough it has cookie reference for session maintenance?
-Raj
how can i see xml exange between client and server
Posted by Thibaut Lassalle <tl...@cvdunet.com>.
hi,
i use the wsdl2java program to generate a stub to access webservices.
Therefore i only manipulate java object.
How can i see xml exange between client and server ? Because i have to
see if they are well formed.
Thanks