You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Johnson, Michael1 [IT]" <mi...@citigroup.com> on 2002/09/10 17:23:12 UTC

Unable to tunnel through Proxy

Hi all.
	I am working on a client that needs to do ssl via the proxy. Via a
browser i can obtain the wsdl fine. But in my client I get the following
exception. Could anyone point me in the right direction with this? Thanks

I am setting the following

System.setProperty("proxySet", "true"); // enable proxying
System.setProperty("https.proxyHost", "https://webproxy.klink.com");  // set
name of proxy server that supports ssl 
System.setProperty("https.proxyPort", "8080");   // set port number for
proxy server that supports ssl

-MJ


Caught SOAPException (SOAP-ENV:Client): Error opening socket:
java.io.IOException: Unable to tunnel through webproxy.klink.com:8080.
Proxy returns &quot;HTTP/1.0 500 Error from proxy&quot;
[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket:
java.io.IOException: Unable to tunnel through webproxy.klink.com:8080.
Proxy returns &quot;HTTP/1.0 500 Error from proxy&quot;;
targetException=java.lang.IllegalArgumentException: Error opening socket:
java.io.IOException: Unable to tunnel through webproxy.klink.com:8080.
Proxy returns "HTTP/1.0 500 Error from proxy"]
	at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.ja
va:354)
	at org.apache.soap.rpc.Call.invoke(Call.java:248)
	at PutnamConnect.main(PutnamConnect.java:73)
[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket:
java.io.IOException: Unable to tunnel through webproxy.klink.com:8080.
Proxy returns &quot;HTTP/1.0 500 Error from proxy&quot;;
targetException=java.lang.IllegalArgumentException: Error opening socket:
java.io.IOException: Unable to tunnel through webproxy.klink.com:8080.
Proxy returns "HTTP/1.0 500 Error from proxy"]
	at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.ja
va:354)
	at org.apache.soap.rpc.Call.invoke(Call.java:248)
	at PutnamConnect.main(PutnamConnect.java:73)