"[EMAIL PROTECTED]" wrote : 
  | It is indeed how I tried to access the information. The following code is 
found in the init method of my end points:
  | 
  |   | context = (ServletEndpointContext)object; // per init javadoc
  |   | 
  |   | /*
  |   | // put the request and response in ServletAccess... not working, using 
a filter for now
  |   | MessageContext messageContext = context.getMessageContext();
  |   | HttpServletRequest request = 
(HttpServletRequest)messageContext.getProperty("transport.http.servletRequest");
  |   | HttpServletResponse response = 
(HttpServletResponse)messageContext.getProperty("transport.http.servletResponse");
  |   | ServletAccess.setRequestAndResponse(request, response);
  |   | */
  |   | 
  | But this code is not working since the MessageContext does not contain the 
properties that used to be there anymore.
  | 

I don't know why we can't restore that option when the request is in fact 
coming in via an http request. It is not portable though so until the jaxws 2.0 
(http://jcp.org/aboutJava/communityprocess/pfd/jsr224/index.html) which does 
define several servlet related MessageContext values:

javax.xml.ws.servlet.context = javax.servlet.ServletContext
javax.xml.ws.servlet.request = javax.servlet.http.HttpServletRequest
javax.xml.ws.servlet.response = javax.servlet.http.HttpServletResponse
javax.xml.ws.servlet.session = javax.servlet.http.HttpSession


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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to