Hi

Is it advisable as a last resort for me to maintain the session manually
using a global singleton object or is there something else that i am missing
in order to maintain session. I am using a cookie container in .NET to
maintain session is there a similar mechanism in java 1.6. Can anyone help
me soon as i need this immediately.

Thanks
Anil

On 4/19/07, Anil Chukkapalli <[EMAIL PROTECTED]> wrote:

Hi

 I am trying to use an Axis2 client to connect to a .NET web service. The
axis2 client is connecting to the web service but it is not able to maintain
session information, i did read through the article
http://www.developer.com/services/article.php/3620661, and i am still
unable to maintain session. I created my stub using the wsdl2java tool
available in axis and the stub is xyzStub.

1.
xyzStub._getServiceClient().getOptions().setManageSession(true);

2.         Options options = xyzStub._getServiceClient().getOptions();
            options.setManageSession(true);
            cStub._getServiceClient().setOptions(options);

 Can you tell me  how to maintain session when connecting to my .NET web
service.

Thank you
Anil

Reply via email to