Did anyone verify if SSL through a proxy works or not with the apache SOAP
client? I've tried it and have been unable to get it to work. Is anyone
pursuing a fix, such as the one proposed in the note from a while ago...

Apparently communicating through a proxy with SSL required some extra
tunneling code. If the URL is https, and a proxy has been set, then use the
tunneling code.

thanks

David Melgar
Web Services Toolkit Development
Emerging Technologies
[EMAIL PROTECTED]


[EMAIL PROTECTED] on 06/19/2001 05:34:41 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  Apache SOAP V2.2 client using SSL behind a proxy doesn't work





Hi,

reading the docs of Apache SOAP V2.2 I got the impression that an Apache
SOAP client is able to talk  to a SOAP server via SSL thru a proxy by just
adding two lines to the code:

FAQ_Tomcat_SOAP_SSL.html
=====================================================
Step 4b: Java SSL Client with Proxy [Optional]

If your client needs to use a proxy server in order to access the SOAP
service, then add the following lines to your code:
System.setProperty("https.proxyHost", "proxy");  // set name of proxy
server that supports ssl
System.setProperty("https.proxyPort", "8080");   // set port number for
proxy server that supports ssl
=====================================================

Unfortunatly this doesn't work, these properties aren't used at all. As I
understand it the code for aquiring a SSLSocket in the class SSLUtils isn't
prepared for proxy handling. I did a quick hack and included the code of
the JSSE sample SSLSocketClientWithTunneling.java to SSLUtils and now it
works as I expect it.

Is this feature suppossed to work or is just the documentation inaccurate ?

--
Jan-Sebastian Winckelmann
Hermes Kreditversicherungs-AG
Hamburg, Germany




Reply via email to