axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30991] New: - Losing cookie information when passing from http to https
Date Wed, 01 Sep 2004 14:41:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30991>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30991

Losing cookie information when passing from http to https

           Summary: Losing cookie information when passing from http to
                    https
           Product: Axis
           Version: 1.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: olivier.schmeltzer@airfrance.fr


Hi !
Our SOAP Axis client sends first request in http, and then switches to https. 
It then loses the cookie information (taking a look at the Http header shows 
that the "Cookie" tag is not there any more).
Actually, this happens in the setTargetEndpointAddress() method of the Call 
object. The source code tests whether the protocol is the same, and if not, 
creates another Transport object, losing consequently the cookie information 
that is necessary to maintain the session.
The comment written in the source code is the following :
            // Technically the session data should be in the message
            // context so that it can be persistent across transports
            // as well, but for now the data is in the Transport object.
Does this mean that this feature is not what have been wanted ? Or that this is 
going to change in a future version ?
If so, how is it possible to keep the same Transport object or to initialise 
the other Transport object with the same data ?
I tried to use the registerTransportForURL() method of the Service class but 
this method can be used only inside the package...
Thanx in advance for any hint on this topic.

Regards,

Olivier

Mime
View raw message