[jboss-user] [JBossWS] - Re: Reading cookies in a web service

perrucci do-not-reply at jboss.com
Sun Aug 13 11:03:05 EDT 2006


On jsr181 ws you can implement javax.xml.rpc.server.ServiceLifecycle and use this code in init(Object object) method:

context = (ServletEndpointContext) object;
httpSession = context.getHttpSession();
httpServletRequest = (HttpServletRequest) context.getMessageContext().getProperty("javax.xml.ws.servlet.request");
httpServletResponse = (HttpServletResponse) context.getMessageContext().getProperty("javax.xml.ws.servlet.response");

Paolo

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964843#3964843

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964843



More information about the jboss-user mailing list