As far as I understand you are trying to get path information from the HTTP request string.
If this is the case, then you can do as follows:
1. Call getMessageContext() on the WebServiceContext that was injected into your endpoint class.
2. Call get on the message context retrieved in step 1 using the key MessageContext.PATH_INFO.