users@jax-rpc.java.net

Re: JAXRPC client through proxy

From: Luc Plaetinck <luc_plaetinck_at_COMPUWARE.COM>
Date: Tue, 21 May 2002 07:11:06 -0600

On Mon, 20 May 2002 14:37:45 -0700, Arun Gupta <arun.gupta_at_SUN.COM> wrote:

>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
>


Hi Arun, thanks for pointing that out. However, after changing this I now get an exception though:

     [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\example... [partly omitted]...;E:\jwsdp-1_0-ea2\common\lib\classes12.jar supplier.SupplierClient http://localhost:8080/jaxrpc-supplier/jaxrpc/SupplierIF
     [java] java.rmi.RemoteException: cannot connect to server: /jaxrpc-supplier/jaxrpc/SupplierIF; nested exception is:
     [java] cannot connect to server: /jaxrpc-supplier/jaxrpc/SupplierIF
     [java] cannot connect to server: /jaxrpc-supplier/jaxrpc/SupplierIF
     [java] at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:110)
     [java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:64)
     [java] at supplier.SupplierIF_Stub.get_sales_total(Unknown Source)
     [java] at supplier.SupplierClient.main(Unknown Source)

What else could be wrong?
Thanks,
Luc Plaetinck