David Sharp wrote:
> I have a stub-based webservice client that I need to modify to make
> its webservice calls through an HTTP proxy server. I've tried
> googling the answer but keep getting irrelevant hits. I would have
> expected there to be a property that could be set on the stub to make
> it use an HTTP proxy, but there doesn't seem to be one.
JAXRPC uses JDK's HttpURLConnection. Just use JDK's standard properties
-Dhttp.proxyHost=... -Dhttp.proxyPort=.. . You could also write a
custom java.net.ProxySelector and register it.
Jit
>
> If someone could point me in the right direction I'd appreciate it.
>
> Thanks,
> Dave