This post originated from an RSS feed registered with Java Buzz
by Andrej Koelewijn.
Original Post: Oracle SOAP and HTTPS
Feed Title: Andrej Koelewijn
Feed URL: http://feeds.feedburner.com/AndrejKoelewijn
Feed Description: On Oracle, Java and OpenSource
Oracle soap seems to have a problem with HTTPS. When I try to connect to a secure web service (using jdeveloper 10g preview), the following error is displayed:
[SOAPException: faultCode=SOAP-ENV:IOException; msg=javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr; targetException=java.io.IOException: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr]
at org.apache.soap.SOAPException.<init>(SOAPException.java:78)
at oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHTTPConnection.java:765)
at org.apache.soap.rpc.Call.invoke(Call.java:261)
To solve this problem you need to replace some of Oracle's jar files with the ssl library which comes with the sun jdk. You can find this solution on Mike Lehmann's blog