This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Oracle/OAS and the fly likes Connecting to HTTPS WebService Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Connecting to HTTPS WebService" Watch "Connecting to HTTPS WebService" New topic
Author

Connecting to HTTPS WebService

Will Kwee
Greenhorn

Joined: Jul 21, 2005
Posts: 2
I am having issues while trying to connect to a webservice that require SSL. Has anybody seen similar exception below or any suggestion of how to setup the cert (using the DER X.509 since the PKCS #12 format not supported)?

WARNING: Unable to connect to URL: https://itsolutions/AppIntegration/org/test/sendRequest.jpd due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


WH
 
Consider Paul's rocket mass heater.
 
subject: Connecting to HTTPS WebService
 
Similar Threads
javax.net.ssl.SSLHandshakeException
Connecting to HTTPS webservice (through oracle- OC4J Jdeveloper)
problem calling a remote webservice [ Algo Error]
java.security.PrivilegedActionException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl:
Connecting to a web service using https