Hi,

I want to access Request Header data in the following piece of code.This method 
is in webservice class which is mapped in cxf-webservice.xml under 
<jaxrs:server/> bean.
@POST
    @Path("/placeOrder")
    public Response placeOrder(@HeaderParam("userId") String userId) {
        String userIdString = userId;
        }

Here I am getting userId null.
I am using CXF-2.1.2 which is supporting jsr311-api-0.8.
When I tried to take jsr311-api-1.0.jar then my war is not getting deployed.

Please help me. This is very urgent...

Regards,
Ragini

Reply via email to