Hi Joseph,
On Jun 20, 2008, at 9:51 PM, Joseph Wyrembelski wrote:
> I have a need to invoke a web service via a proxy. Is there any way
> to do this within the Jersey API?
Do you mean to set the proxy with the Jersey client API?
If so currently there is no programmatic way to set the proxy using
the Jersey client API.
You can set a system property, as described here [1], but this sucks
when making multiple requests to different servers with/different or
without proxies. We need to add support for Proxy and ProxySelector
as properties.
Paul.
[1]
http://java.sun.com/j2se/1.5.0/docs/guide/net/proxies.html