Hi Luc,
You need to set the properties as -Dhttp.proxyHost and -Dhttp.proxyPort.
It seems there is a slight typo, you are using -Dhttp:proxyHost.
Thanks for your interest in JAX-RPC.
Regards,
-Arun
Luc Plaetinck wrote:
>Hi all,
>I tried different ways to have a JAXRPC client go through a non-authorizing proxy server:
>- using the call System.setProperty("http.proxyHost", "evie.compuware.com") and related ones
>- supplying the properties on the command line, as in the extract of following "verbose" ant run command:
> [java] Forking E:\jdk1.3.1_03\jre\..\bin\java.exe -Dhttp:proxyHost=evie.compuware.com -Dhttp.proxyPort=1101 -classpath E:\jwsdp-1_0-ea2\docs\tutorial\examples ...[remainder omitted];E:\jwsdp-1_0-ea2\common\lib\classes12.jar supplier.SupplierClient http://localhost:8080/jaxrpc-supplier/jaxrpc/SupplierIF
> [java] Total Sales for ScrewDepot = 46080.49
>
>None of these methods seems to work: the proxy is totally ignored; as confirmed by turning of the proxy server and still getting a valid result.
>Anyone out there who knows how to accomplish this?
>Thanks,
>Luc Plaetinck
>
--
=============================================
There is only one me, I must live myself!
There is only one today, I must live itself!
=============================================
http://members.tripod.com/~apgupta/index.html
=============================================