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 Shalab Goel <sh...@oracle.com> on 2007/08/03 22:05:38 UTC
RE: Transport Level Session Management -- is this .NET interop
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:deepalk@gmail.com] =
Sent: Thursday, August 02, 2007 9:24 PM
To: axis-user@ws.apache.org
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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Transport Level Session Management -- is this .NET interop
Posted by Deepal jayasinghe <de...@gmail.com>.
> 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?
>
Yes it is.
Thanks
Deepal
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org