Hi Deepal, Thanks a lot. I am hoping this will solve the problem, but none of the Constants class in Axis2-1.2 JavaDocs reference constant string CUSTOM_COOKIE_ID Is this something new for 1.3?
Thanks Shalab -----Original Message----- From: Deepal jayasinghe [mailto:[EMAIL PROTECTED] = Sent: Thursday, August 02, 2007 9:24 PM To: [email protected] Subject: Re: Transport Level Session Management -- is this .NET interop Iss= ue? Hi Shalab , > > Hello, > > I have a question about session management. > > My Axis client is a consumer of .NET service, I am noticing the > following interoperability issue. The Service is returning Cookie as > > *Set-Cookie: ASP.NET_SessionId=3Dcml1mh45lc3yzf55flravg45; path=3D/; Http= Only* > According the the servlet specification it should send the JSESSIONID , anyway Axis2 has a way to deal with this as well. So when you send the request set the following property into the option. Options options =3D new Options(); options.setProperty(Constants.CUSTOM_COOKIE_ID,"ASP.NET_SessionId")= ; That will definitely solve the issue. You have to use Axis2 1.3 RC1 or RC2 for this case. Thanks Deepal > And this is not getting processed by Axis client. > > I have also created a test Axis service where I have enabled transport > level sessions. The Cookie gets set here as: > > *Set-Cookie: JSESSIONID=3D0E2ACECB8CF2E5E91F55B5F8E6CEA150; Path=3D/axis2= * > > In this case, Axis client is able to return back the sessionid to the > Axis Service. > > Appreciate any input on how to work around this issue. > > Does Axis provide any API to inspect the incoming Cookies, and set > outgoing Cookies explicitly? > > Thanks > > Shalab > > > --------------------------------------------------------------------- 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]
