Title: Enabling .NET client to maintain session with Axis web service
You can use a IHeaderHandler and overrite the methods to capture the session ID and write it out in the SOAP header; that part is oulined in the msdn docs.  You would also need set up a SimpleSessionHandler on the service side in your wsdd, check out the session example with axis.
 
I've seen talk of session management by setting cookies in .NET somewhere too. The SOAP Header approach I think allows a little better interop, it's in the archives.
 
Les
----- Original Message -----
Sent: Friday, July 12, 2002 3:13 PM
Subject: Enabling .NET client to maintain session with Axis web service

Is there a way to ask a .NET client to maintain a session with a web service developed in Axis. Here's my .NET code that needs to maintain a session between the calls sendToken() and getToken().

    MySvc.MyService ws = new MySvc.MyService();
    ws.sendToken(token);
    int receivedToken = ws.getToken();

Thanks.
Naresh Bhatia

Reply via email to