Hi
On 17/06/14 11:00, Anthony Fryer wrote:
Hi,
I want to create a simple jax-rs proxy service that just passes a request
unmodified to another server. This is for 2 reasons..
1) I want to avoid cross domain ajax calls from a web browser; and
2) I want to cache some of the service responses because I get charged per
service call.
How would I imiplement this? I think it should be simple but I'm not an
expert of the jax-rs api. Any help is appreciated.
It can be as simple as
private WebClient remoteClient;
@POST
public Response proxy(InputStream is) {
remoteClient.post(is);
}
Cheers, Sergey
Regards,
Anthony
--
View this message in context:
http://cxf.547215.n5.nabble.com/jax-rs-proxy-service-tp5745262.html
Sent from the cxf-user mailing list archive at Nabble.com.