Hi
This doesn't work if you are using a SSL-connection.
There seems to be a bug in the Apache Soap, but if you use the classes 
delivered bt the guy from IBM last week, it will work.

Arny

>From: Hung Nguyen Quang <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: HELP: SOAP SSL PROXY-problems
>Date: Mon, 8 Jul 2002 21:14:36 -0700 (PDT)
>
>
>Hi friends,
>Using this code for Proxy Setting:
>  // create the transport and set parameters
>    SOAPHTTPConnection soapTran = new SOAPHTTPConnection();
>  // proxy settings
>    soapTran.setProxyHost(strProxyHost);
>    soapTran.setProxyPort(nProxyPort);
>Best wishes,
>
>Hung
>
>Amazing Arny <[EMAIL PROTECTED]> wrote:
>
>Hi,
>
>I got a working SOAP-service over SSL without client-certificates. Now I'm
>trying to connect to the service trough a proxy with the next code:
>System.setProperty("https.proxyHost","
>");
>System.setProperty("https.proxyPort","80");
>
>I keep getting the next error:
>[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: null;
>targetException=java.lang.IllegalArgumentException: Error opening socket:
>null]
>void org.apache.soap.SOAPException.(java.lang.String,
>java.lang.String, java.lang.Throwable)
>void
>org.apache.soap.transport.http.SOAPHTTPConnection.send(java.net.URL,
>java.lang.String, java.util.Hashtable, org.apache.soap.Envelope,
>org.apache.soap.encoding.SOAPMappingRegistry,
>org.apache.soap.rpc.SOAPContext)
>org.apache.soap.rpc.Response
>org.apache.soap.rpc.Call.invoke(java.net.URL,
>java.lang.String)
>org.apache.soap.rpc.Response
>covProxy.makeSOAPCallRPC(java.lang.String,
>java.util.Vector, java.lang.String, java.lang.String)
>Reactie[] covProxy.cov(Aanvraag[])
>void TestClient.main(java.lang.String[])
>
>When I debug the code it loos like the proxy-server is not set.
>And a time-out occurs(which seems normal if the proxy-server is not set)
>
>When I use the next code to set the proxy-server:
>
>SOAPHTTPConnection.setProxyHost("
>");
>SOAPHTTPConnection.setProxyPort(80);
>
>The APACHESOAP code tries to setup a SSL-connection to my proxy-server 
>which
>fails.
>
>Can somebody help me?
>
>
>
>
>_________________________________________________________________
>MSN Photos is the easiest way to share and print your photos:
>http://photos.msn.com/support/worldwide.aspx
>
>
>--
>To unsubscribe, e-mail:
>For additional commands, e-mail:
>
>
>
>
>
>---------------------------------
>Do You Yahoo!?
>New! SBC Yahoo! Dial - 1st Month Free & unlimited access




www.amazingarny.myweb.nl


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to