I have a REST interface to my backend server. I also have a REST
interface for the server side of my Web UI.
In some cases a REST interface operation in my UI server needs to simply
proxy for and pass-through to my backend server.
Are there any examples on how to do this sort of proxy operation?
my method looks something like this:
@Path("/search")
@GET
@Produces({"application/xml","application/json"})
public Response search(@QueryParam("format") String format,
@QueryParam("queryId") String queryId) throws JAXBException {
Response response=null;
....
return response;
}
Thanks.
--
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com