Thursday, October 20, 2011

Error: : 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 Applicatino works fine over HTTP. On BPEL

Visit the Below Website to access unlimited exam questions for all IT vendors and Get Oracle Certifications for FREE
http://www.free-online-exams.com
Problem:    
 Error: : 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 Applicatino works fine over HTTP. On BPEL


Solution:


The problem is that webapp is now acting as a SSL client, and as a client, it needs to obtain and 'trust' the server's public key.
This is identical to what happens when you visit a https://... URL in a browser - the browser fetches the public key and (if not signed by a trusted agent) presents it to you for inspection. If you trust the key, the browser saves it, and uses it to encrypt all subsequent communication with the site. We need to emulate this process before our webapp can access https resources

Please follow up Note 430414.1, and test if you are able to call your web services from your jdeveloper after applying all its steps.
References:
Note 430414.1 How To Call a SSL Secured Web Service from JDeveloper 10.1.3.x ?



Get Oracle Certifications for all Exams
Free Online Exams.com

No comments: