Hartmut Bernecker <[EMAIL PROTECTED]> wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
> I just installed a thawte digitally signed cert on the SOAP
> server (https://www.thawte.com/cgi/server/test.exe).
> I downloaded the Root CA cert
> (https://www.thawte.com/servertest.crt) and stored it as
> "servertest.crt" on the machine on which the SOAP client
> resides. Now, when running the SOAP-Client, I get that
> exception:
>
> java.lang.reflect.InvocationTargetException:
> java.net.SocketException: SSL implementation not available
> at
> javax.net.ssl.DefaultSSLSocketFactory.createSocket([DashoPro-
> V1.2-120198])
>
> BTW: I can access the soap server (with http) directly
> (intranet), but the internet only via proxy. - Is that a
> problem?
My experience is that an Apache SOAP client using SSL via a proxy
server doesn't work at all. Even with the correct settings like
System.setProperty("https.proxyHost", "193.189.249.52");
System.setProperty("https.proxyPort", "80");
the result is as you quoted. In my opinion the class
org.apache.soap.util.net.SSLUtils isn't able to handle the proxy
connection. I posted this to the soap-dev list but I got no
replies.
Finally I changed the class myself and added the needed code for
tunneling via a proxy server as quoted in a JSSE example. And now
it works as expected. I included the new source code, please give
it a try.
Bye, Jan
--
Jan-Sebastian Winckelmann
[EMAIL PROTECTED]
Hermes Kreditversicherungs-AG, Germany
SSLUtils.java