Hi folks,
I have a Web service created using JDeveloper and deployed as HTTPS web service.
When I tried to invoke it using some Web client that is generated by JDev, it works fine. But When I write a Java client to call that service, it fails! saying that:
WARNING: Unable to connect to URL: https://xxxxxxxxxxxxxxxxx due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertExpiredErr
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertExpiredErr
at se.proxy.runtime.XREFSearchBinding_Stub.searchXREF(XREFSearchBinding_Stub.java:97)
at se.proxy.XREFSearchPortClient.searchXREF(XREFSearchPortClient.java:50)
at se.proxy.XREFSearchPortClient.main(XREFSearchPortClient.java:31)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertExpiredErr
at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:93)
at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:89)
at oracle.j2ee.ws.client.ClientTransportException.<init>(ClientTransportException.java:33)
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:144)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:121)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:169)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
at se.proxy.runtime.XREFSearchBinding_Stub.searchXREF(XREFSearchBinding_Stub.java:80)
... 2 more
Process exited with exit code 0.