RE: How to enable Axis client to return more than one cookie

2004-08-09 Thread Liu, Scott
Posted. Thanks.

Scott

-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 08, 2004 7:33 PM
To: [EMAIL PROTECTED]
Subject: Re: How to enable Axis client to return more than one cookie

Scott, 
Can you please post your diff to the bug report?

-- dims

On Sun, 8 Aug 2004 14:40:52 -0700, Liu, Scott [EMAIL PROTECTED] wrote:
 I updated my code according to the patch (the diff file) and it works
 now.
 I did not use all the changes suggested in HTTPTransport class. I only
 made a simple change in processReturnedMessageContext() like
 
 cookies = (Vector)context.getProperty(HTTPConstants.HEADER_COOKIE);
 
 instead.
 
 Thanks for all the good work,
 
 Scott
 
 
 
 -Original Message-
 From: Liu, Scott
 Sent: Thursday, August 05, 2004 12:18 PM
 To: [EMAIL PROTECTED]
 Subject: RE: How to enable Axis client to return more than one cookie
 
 Thanks. The patch has not been checked in yet. The patch link only
 provides differences. Does anyone know where can I get the real
patch
 so that I do not have to apply the patch line by line?
 
 Really appreciated,
 
 Scott
 
 -Original Message-
 From: Christian Campo [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 05, 2004 11:33 AM
 To: [EMAIL PROTECTED]
 Subject: Re: How to enable Axis client to return more than one cookie
 
 http://issues.apache.org/jira/browse/AXIS-1080
 
 - Original Message -
 From: Liu, Scott [EMAIL PROTECTED]
 Date: Thu, 5 Aug 2004 08:43:28 -0700
 Subject: RE: How to enable Axis client to return more than one cookie
 To: [EMAIL PROTECTED]
 
 The first question on cookie is indeed the problem. I have read that
 there is a patch to support multiple cookies. Can anyone point me to
 the place for this patch?
 
 I am still interested to know the answer on getting MessageContext
 object on client side.
 
 Thanks for your attention,
 
 Scott
 
 -Original Message-
  From: Liu, Scott
  Sent: Wednesday, August 04, 2004 10:17 PM
  To: [EMAIL PROTECTED]
  Subject: How to enable Axis client to return more than one cookie
 
 Hi, All,
 
 I have a question on cookie or session management. This has been
 baffling me for a while. Hope that someone there has solved a similar
 problem.
 
 In the application I am running there are two cookies from server.
 First one is the JSESSIONID and the second one is application
 specific. When the session is enabled on client side I only see the
 second cookie returned to the server in TCPMonitor. Could this be that
 there is a default cookie limit which has a size of one thus the first
 cookie was overridden by the second one?
 
 I tried to access MessageContext on the client but the object was
 null. How do I solve this problem?
 
 This is what I have.
 
 AxisEngine eng = service.getEngine();
 
 MessageContext ctx =
eng.getEngine().getCurrentMessageContext();
 
 The ctx object is null.
 
 Thanks,
 
 Scott
 
 --
 christian campo (gmail.com)
 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/


RE: How to enable Axis client to return more than one cookie

2004-08-08 Thread Liu, Scott
I updated my code according to the patch (the diff file) and it works
now.
I did not use all the changes suggested in HTTPTransport class. I only
made a simple change in processReturnedMessageContext() like

cookies = (Vector)context.getProperty(HTTPConstants.HEADER_COOKIE);

instead.

Thanks for all the good work,

Scott

-Original Message-
From: Liu, Scott 
Sent: Thursday, August 05, 2004 12:18 PM
To: [EMAIL PROTECTED]
Subject: RE: How to enable Axis client to return more than one cookie

Thanks. The patch has not been checked in yet. The patch link only
provides differences. Does anyone know where can I get the real patch
so that I do not have to apply the patch line by line?

Really appreciated,

Scott

-Original Message-
From: Christian Campo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 05, 2004 11:33 AM
To: [EMAIL PROTECTED]
Subject: Re: How to enable Axis client to return more than one cookie

http://issues.apache.org/jira/browse/AXIS-1080


- Original Message -
From: Liu, Scott [EMAIL PROTECTED]
Date: Thu, 5 Aug 2004 08:43:28 -0700
Subject: RE: How to enable Axis client to return more than one cookie
To: [EMAIL PROTECTED]

 
 

The first question on cookie is indeed the problem. I have read that
there is a patch to support multiple cookies. Can anyone point me to
the place for this patch?

  

I am still interested to know the answer on getting MessageContext
object on client side.

  

Thanks for your attention, 

  

Scott

 

  

-Original Message-
 From: Liu, Scott 
 Sent: Wednesday, August 04, 2004 10:17 PM
 To: [EMAIL PROTECTED]
 Subject: How to enable Axis client to return more than one cookie 

  

Hi, All, 

  

I have a question on cookie or session management. This has been
baffling me for a while. Hope that someone there has solved a similar
problem.

  

In the application I am running there are two cookies from server.
First one is the JSESSIONID and the second one is application
specific. When the session is enabled on client side I only see the
second cookie returned to the server in TCPMonitor. Could this be that
there is a default cookie limit which has a size of one thus the first
cookie was overridden by the second one?

  

I tried to access MessageContext on the client but the object was
null. How do I solve this problem?

  

This is what I have. 

  

AxisEngine eng = service.getEngine(); 

MessageContext ctx = eng.getEngine().getCurrentMessageContext();


  

The ctx object is null. 

  

Thanks, 

  

Scott 



-- 
christian campo (gmail.com)


Re: How to enable Axis client to return more than one cookie

2004-08-08 Thread Davanum Srinivas
Scott, 
Can you please post your diff to the bug report?

-- dims

On Sun, 8 Aug 2004 14:40:52 -0700, Liu, Scott [EMAIL PROTECTED] wrote:
 I updated my code according to the patch (the diff file) and it works
 now.
 I did not use all the changes suggested in HTTPTransport class. I only
 made a simple change in processReturnedMessageContext() like
 
 cookies = (Vector)context.getProperty(HTTPConstants.HEADER_COOKIE);
 
 instead.
 
 Thanks for all the good work,
 
 Scott
 
 
 
 -Original Message-
 From: Liu, Scott
 Sent: Thursday, August 05, 2004 12:18 PM
 To: [EMAIL PROTECTED]
 Subject: RE: How to enable Axis client to return more than one cookie
 
 Thanks. The patch has not been checked in yet. The patch link only
 provides differences. Does anyone know where can I get the real patch
 so that I do not have to apply the patch line by line?
 
 Really appreciated,
 
 Scott
 
 -Original Message-
 From: Christian Campo [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 05, 2004 11:33 AM
 To: [EMAIL PROTECTED]
 Subject: Re: How to enable Axis client to return more than one cookie
 
 http://issues.apache.org/jira/browse/AXIS-1080
 
 - Original Message -
 From: Liu, Scott [EMAIL PROTECTED]
 Date: Thu, 5 Aug 2004 08:43:28 -0700
 Subject: RE: How to enable Axis client to return more than one cookie
 To: [EMAIL PROTECTED]
 
 The first question on cookie is indeed the problem. I have read that
 there is a patch to support multiple cookies. Can anyone point me to
 the place for this patch?
 
 I am still interested to know the answer on getting MessageContext
 object on client side.
 
 Thanks for your attention,
 
 Scott
 
 -Original Message-
  From: Liu, Scott
  Sent: Wednesday, August 04, 2004 10:17 PM
  To: [EMAIL PROTECTED]
  Subject: How to enable Axis client to return more than one cookie
 
 Hi, All,
 
 I have a question on cookie or session management. This has been
 baffling me for a while. Hope that someone there has solved a similar
 problem.
 
 In the application I am running there are two cookies from server.
 First one is the JSESSIONID and the second one is application
 specific. When the session is enabled on client side I only see the
 second cookie returned to the server in TCPMonitor. Could this be that
 there is a default cookie limit which has a size of one thus the first
 cookie was overridden by the second one?
 
 I tried to access MessageContext on the client but the object was
 null. How do I solve this problem?
 
 This is what I have.
 
 AxisEngine eng = service.getEngine();
 
 MessageContext ctx = eng.getEngine().getCurrentMessageContext();
 
 The ctx object is null.
 
 Thanks,
 
 Scott
 
 --
 christian campo (gmail.com)
 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/


RE: How to enable Axis client to return more than one cookie

2004-08-05 Thread Liu, Scott








The first question on cookie is indeed the
problem. I have read that there is a patch to support multiple cookies. Can
anyone point me to the place for this patch?



I am still interested to know the answer on
getting MessageContext object on client side.



Thanks for your attention,



Scott



-Original Message-
From: Liu, Scott 
Sent: Wednesday, August 04, 2004
10:17 PM
To: [EMAIL PROTECTED]
Subject: How to enable Axis client
to return more than one cookie



Hi, All,



I have a question on cookie or session
management. This has been baffling me for a while. Hope that someone there has
solved a similar problem.



In the application I am running
there are two cookies from server. First one is the JSESSIONID
and the second one is application specific. When the session is enabled on
client side I only see the second cookie returned to the server in TCPMonitor.
Could this be that there is a default cookie limit which has a size of one thus
the first cookie was overridden by the second one?



I tried to access MessageContext on
the client but the object was null. How do I solve this problem?



This is what I have.




AxisEngine eng = service.getEngine();


MessageContext ctx = eng.getEngine().getCurrentMessageContext(); 



The ctx object is null.



Thanks,



Scott








Re: How to enable Axis client to return more than one cookie

2004-08-05 Thread Christian Campo
http://issues.apache.org/jira/browse/AXIS-1080


- Original Message -
From: Liu, Scott [EMAIL PROTECTED]
Date: Thu, 5 Aug 2004 08:43:28 -0700
Subject: RE: How to enable Axis client to return more than one cookie
To: [EMAIL PROTECTED]

 
 

The first question on cookie is indeed the problem. I have read that
there is a patch to support multiple cookies. Can anyone point me to
the place for this patch?

  

I am still interested to know the answer on getting MessageContext
object on client side.

  

Thanks for your attention, 

  

Scott

 

  

-Original Message-
 From: Liu, Scott 
 Sent: Wednesday, August 04, 2004 10:17 PM
 To: [EMAIL PROTECTED]
 Subject: How to enable Axis client to return more than one cookie 

  

Hi, All, 

  

I have a question on cookie or session management. This has been
baffling me for a while. Hope that someone there has solved a similar
problem.

  

In the application I am running there are two cookies from server.
First one is the JSESSIONID and the second one is application
specific. When the session is enabled on client side I only see the
second cookie returned to the server in TCPMonitor. Could this be that
there is a default cookie limit which has a size of one thus the first
cookie was overridden by the second one?

  

I tried to access MessageContext on the client but the object was
null. How do I solve this problem?

  

This is what I have. 

  

AxisEngine eng = service.getEngine(); 

MessageContext ctx = eng.getEngine().getCurrentMessageContext(); 

  

The ctx object is null. 

  

Thanks, 

  

Scott 



-- 
christian campo (gmail.com)


RE: How to enable Axis client to return more than one cookie

2004-08-05 Thread Liu, Scott
Thanks. The patch has not been checked in yet. The patch link only
provides differences. Does anyone know where can I get the real patch
so that I do not have to apply the patch line by line?

Really appreciated,

Scott

-Original Message-
From: Christian Campo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 05, 2004 11:33 AM
To: [EMAIL PROTECTED]
Subject: Re: How to enable Axis client to return more than one cookie

http://issues.apache.org/jira/browse/AXIS-1080


- Original Message -
From: Liu, Scott [EMAIL PROTECTED]
Date: Thu, 5 Aug 2004 08:43:28 -0700
Subject: RE: How to enable Axis client to return more than one cookie
To: [EMAIL PROTECTED]

 
 

The first question on cookie is indeed the problem. I have read that
there is a patch to support multiple cookies. Can anyone point me to
the place for this patch?

  

I am still interested to know the answer on getting MessageContext
object on client side.

  

Thanks for your attention, 

  

Scott

 

  

-Original Message-
 From: Liu, Scott 
 Sent: Wednesday, August 04, 2004 10:17 PM
 To: [EMAIL PROTECTED]
 Subject: How to enable Axis client to return more than one cookie 

  

Hi, All, 

  

I have a question on cookie or session management. This has been
baffling me for a while. Hope that someone there has solved a similar
problem.

  

In the application I am running there are two cookies from server.
First one is the JSESSIONID and the second one is application
specific. When the session is enabled on client side I only see the
second cookie returned to the server in TCPMonitor. Could this be that
there is a default cookie limit which has a size of one thus the first
cookie was overridden by the second one?

  

I tried to access MessageContext on the client but the object was
null. How do I solve this problem?

  

This is what I have. 

  

AxisEngine eng = service.getEngine(); 

MessageContext ctx = eng.getEngine().getCurrentMessageContext();


  

The ctx object is null. 

  

Thanks, 

  

Scott 



-- 
christian campo (gmail.com)