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 09:55:34 UTC
HELP: SOAP SSL PROXY-problems
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
Re: HELP: SOAP SSL PROXY-problems
Posted by Niclas Hedhman <ni...@ewarna.com>.
Version of JDK???
On Friday 05 July 2002 15:55, 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
Re: HELP: SOAP SSL PROXY-problems
Posted by Kumar Raj <ku...@india.hp.com>.
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>
Re: HELP: SOAP SSL PROXY-problems
Posted by Niclas Hedhman <ni...@ewarna.com>.
Version of JDK???
On Friday 05 July 2002 15:55, 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>
Re: HELP: SOAP SSL PROXY-problems
Posted by Kumar Raj <ku...@india.hp.com>.
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>
Re: HELP: SOAP SSL PROXY-problems
Posted by Hung Nguyen Quang <hu...@yahoo.com>.
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 <am...@hotmail.com> 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
Re: HELP: SOAP SSL PROXY-problems
Posted by Hung Nguyen Quang <hu...@yahoo.com>.
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 <am...@hotmail.com> 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