You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by Amazing Arny <am...@hotmail.com> on 2002/07/05 10:49:55 UTC

Nope, Re: HELP: SOAP SSL PROXY-problems


Hi Kumar,

I've tried it, but that doesn't seem to make any difference at all.

>From: Kumar Raj <ku...@india.hp.com>
>Reply-To: kumarraj@india.hp.com
>To: soap-dev@xml.apache.org
>Subject: Re: HELP: SOAP SSL PROXY-problems
>Date: Fri, 05 Jul 2002 13:51:10 +0530
>
>Hi !
>Try setting the https.proxyHost & https.proxyPort through -D option while
>starting the jvm.
>
>Regards
>Kumar Raj
>
>Amazing Arny 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","<proxyname>");
> > 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.<init>(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("<proxyname>");
> >    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:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
>
>
>--
>To unsubscribe, e-mail:   <ma...@xml.apache.org>
>For additional commands, e-mail: <ma...@xml.apache.org>




www.amazingarny.myweb.nl


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com