axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <>
Subject Re: regarding setMaintainSession()
Date Mon, 31 Jan 2005 02:04:47 GMT
Hi Manohar,
     setMaintainSession() can be used at client stub level to specify
if the client should keep  track of session or not with the server.
Wen I say session here, I mean the cookie based session, and not SOAP
header based session.

> At what point do we need to call this API in the client code ?
     Please have a look at samples/client/session/cookie/Client.cpp.
     I hope this will answer all the questions you have on the use of this API.
    You got to have a session sensitive service to test this. I have
used an increment service, where the server first sends 10, and
subsequenltly send 20, 30, 40 etc. for subsequest session sensitive
calls (i.e. calls made after setMaintainSession(true) being called on

    Please have a look at readme.txt on how to test this with Axis Java.

BTW, I was under the impression that API doc that I had done was
sufficient. My understanding is that this additional infomation should
go in a seperate doc, may be user guide, which we do not have
currently. Thoughts on this?

    Please let me know if you have any other concerns.



On Thu, 27 Jan 2005 20:17:30 +0530, Manohar K Chintala
<> wrote:
> Hi Samisa,
> I am trying to write a test for setMaintainSession ()  API. The
> doucmentation for setMaintainSession() appreas to be not sufficient enough
> to understand the significance of this API.
> At what point do we need to call this API in the client code ? Is it after
> creating the Stub object or beore/after invoking the service ? If used,
> how/where can we observe the effect of this method when either set to true
> or false.  Is this intended for cookie based sessions ?
> Request you to provide inputs.
> Regards
> Manohar
> --------------------------------------------------
> Manohar Kumar.Ch
> IBM Web Services Client for C/C++
> India Software Labs,III floor, Golden Enclave,
> Aiport Road, Bangalore-560017
> Ph:- 91-80-25094304
> internet id:

View raw message