Originally posted by Balaji Sundararaju: I'm trying to access HTTPServletRequest from Restful webservice.
Why? Even with JAX-RS (Jersey) there is no guarantee that the web service is deployed inside a servlet container. Some of the equivalent functionality may be found elsewhere - but what specifically are you looking for?
Joined: Dec 17, 2008
It is a JAX-RS (Jersey) project and I used the @Context annotation to get hold of the WebServiceContext object.
When I tried accessing the message context from the web service context object I'm getting null.
Please let me know what I'm missing here.
Below is the beans.xml I'm using
Joined: Aug 19, 2005
Originally posted by Balaji Sundararaju: It is a JAX-RS (Jersey) project
Looks to me that it actually is an Apache CXF JAX-RS project - which as far as I can tell has nothing to do with Jersey.
According to the JSR-311 API (JAX-RS) you should be able to get