xml-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Jefferies <ajeffer...@vrisko.com>
Subject RE: SSL and Proxy authentication
Date Mon, 17 Jun 2002 14:41:58 GMT

I actually solved this by patching SOAP2.3 with a fix very similar
to the following: (in bugzilla database)

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9355

though I admit I overlooked setProxyUserName().  I suspect a complete
fix would require the above patch and provision for setProxyUserName(),
though, as I said, I haven't tried it.

Thanks for the help,
Andy.

> -----Original Message-----
> From: CKortmann@heyde.de [mailto:CKortmann@heyde.de]
> Sent: 17 June 2002 12:40
> To: soap-user@xml.apache.org
> Subject: RE: SSL and Proxy authentication
> 
> 
> Hi Andy,
> 
> have you tried setting the properties directly to the 
> SOAPHTTPConnection
> object? You can use setProxyPasswort() and setProxyUserName() 
> to set the
> desired authentication details.
> 
> 
> Good Luck,
> Carsten
> 
> -----Original Message-----
> From: Andy Jefferies [mailto:ajefferies@vrisko.com]
> Sent: Friday, June 14, 2002 12:17 PM
> To: Apache Soap Users Mailing List (E-mail)
> Subject: SSL and Proxy authentication
> 
> 
> 
> Has anybody tried to use SOAP 2.3 over SSL through a Proxy 
> server which
> requires authentication? (Win2000, Java 1.3)
> 
> I have been successfully performing SOAP transaction via SSL with no
> problems,
> but a new Proxy seems to have scuppered things.
> 
> Setting the https.ProxySet, proxyHost and proxyPort system 
> properties does
> re-route the request through the Proxy, but the Proxy fails 
> authentication.
> The Proxy is set up to allow NTLM and BASIC authentication.
> 
> I've tried setting other system properties:
> 
>  https.ProxyUser, https.proxyPassword, https.proxyScheme, 
> https.proxyRealm
>  http.proxyUser, http.proxyPassword, http.proxyScheme, http.proxyRealm
>  proxyUser, proxyPassword, proxyScheme, proxyRealm
> 
> These properties are mainly guesses and info found from 
> various websites.
> Is there a definitive list of system properties out there?
> 
> The exception is:
> java.lang.IllegalArgumentException: Error opening socket:
> java.io.IOException: Unable to tunnel through 10.10.1.157:80. 
>  Proxy returns
> "HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires
> authorization to fulfill the request. Access to the Web Proxy 
> service is
> denied.  )"
> 	at org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:249)
> 	at
> org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTT
PConnection.ja
> va:309)
> 
> Many thanks,
> Andy.
> 

Mime
View raw message