Hi Jennifer,

Jennifer J. Chen wrote:

Bruno,

Thank you for your response.

Currently I have two purchased systems communicating with each other through custom software using a servlet and xml response. What I will like to do is to turn this into web service client and service architecture. I did not write the software for the receiving system, but do use provided APIs to validate the user. In order to use the APIs I need the original HttpServletRequest.

I am not sure how restlets can be useful if it cannot integrate with legacy or existing systems.


If you're given some library which has an API of the form "authenticate(HttpServletRequest servletRequest)", then I think what Rob suggested in reply to your message is probably the cleanest solution: creating a "fake" HttpServletRequest, populated with the relevant information from the Restlet Request. Perhaps there could be some utility class to do this conversion. Feel free to contribute the code if you implement it...


Best wishes,

Bruno.

Reply via email to