Hi,
I have set a service to transport session scope and the session context
worked as expected. But when I try to get the session cookie id, it always
returns null.
MessageContext cxt = MessageContext.getCurrentMessageContext();
SessionContext session = cxt.getSessionContext();
String cookieId = session.getCookieID();
On the client side, I used the following code, it also always return null.
stub._getServiceClient().getOptions().getProperty(
org.apache.axis2.transport.
http.HTTPConstants.COOKIE_STRING)
Can someone shed some lights on how to get the cookie?
Thanks,
-Bo