Hi everyone, I want to use cookies to maintain session state in the client application that I am currently building. However Axis, to hide transport details from the application, I guess does not directly allow to access the cookies that were transported in a call.
I am using the dynamic Call Object and do not use generated stubs. On the serverside I found that it is possible to write a global request handle that can "pull" the httpservletrequest object and get the cookie from their. However on the client side the cookie object is very well hidden. The only current solution that we have is accessing private fields using reflection (which of course only works without a SecurityManager). Anybody can help me here ??? BTW: The reason why we choose Cookies and not SOAP Headers is because we use the same mechanism for browser applications and have some central components which are managing and checking the session are not aware of the difference between a webapplication and a webservice. So Cookies is a mechanism that works in both worlds. thanks -- christian campo
