Hi all,
I use Spring DispatcherServlet and a controller to handle incoming requests and bond/retrieve user session objects with httpsessions. Now I want to expose my api methods as web service by using axis. I created a class:
The methods in the class will call my corresponding api methods. However, I need to get session id from the request handled by axis servlet to retrieve user session object (for access control, user settings, and so on). I checked ServletEndpointSupport java doc and could not find a way to get httprequest object.Code:public class RemoteApiEndPoint extends ServletEndpointSupport implements RemoteApiService
Could anyone help me with the issue? Thanks,
ZJ


Reply With Quote