users@jax-rpc.java.net

Re: jax-rpc and a http proxy.

From: Plaetinck, Luc <Luc_Plaetinck_at_compuware.com>
Date: Fri, 21 Mar 2003 14:50:57 -0500

Try using command-line parameters:
"-Dhttp.proxySet=true -Dhttp.proxyHost=hostname -Dhttp.proxyPort=portnum"
Make sure though that hostname IS NOT localhost, otherwise the TCP stack
bypasses it.
Haven't tried that with the properties, might work also.

Luc

-----Original Message-----
From: Hall, Joe [mailto:Joe.Hall_at_AVNET.COM]
Sent: Friday, March 21, 2003 14:34
To: JAXRPC-INTEREST_at_JAVA.SUN.COM
Subject: jax-rpc and a http proxy.


How do I use a http proxy with my jax-rpc client?

I've tried setting system properties in my client file and it doesn't seem
to make a difference.

System.setProperty("proxySet","true");
System.setProperty("proxyHost","localhost");
System.setProperty("proxyPort","8118");

Thanks,

Joe Hall



The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it.