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