Hello, In my application I can successfully call a WCF WS. The session start with a login[*] where a specific cookie is provided by the server and this is set as an option in the Axis client for further use.
The problem is that this cookie expires after some time. It needs to be renewed otherwise the server rejects further requests. The server signals this renewal request by timely sending a Set-Cookie tag with a new value and expiry date. My problem is that I couldn't yet find out how to get this information with Axis. These return nulls: MessageContext inMC = service._getServiceClient().getLastOperationContext().getMessageContexts().get("In"); String c1 = (String)inMC.getServiceContext().getProperty(HTTPConstants.HEADER_SET_COOKIE); String c2 = (String)inMC.getServiceContext().getProperty(HTTPConstants.HEADER_SET_COOKIE2); [*]: For the time being the login processing and cookie setting is done directly via HttpsURLConnection and SOAP. Can anyone tell me how to do this? Thank you! Zsolt --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org