Wednesday, January 7, 2015

How To Configure JDeveloper 11g to Invoke Secure Web Services? (Doc ID 1277326.1)

How To Configure JDeveloper 11g to Invoke Secure Web Services? (Doc ID 1277326.1) APPLIES TO: Web Services - Version 11.1.1.0.0 and later Oracle Weblogic Server - Version 11.1.1.1.0 and later Oracle JDeveloper - Version 11.1.1.0.0 and later Information in this document applies to any platform. GOAL How to configure JDeveloper11g to add an existing certificate/keystore to invoke a secure Web Service? SOLUTION Import the certificates, then specify the certificates/keys path in the Run Directory of the project by applying the following steps: Copy your certificate ( eg. certificate.cer ) to JDeveloper's internal JRE directory, for example: C:\Jdeveloper11.1.1.3.0\Oracle\Middleware\jdk160_18\jre\lib\security Import the certificate using the following command: keytool -v -import -file certificate.cer -keystore cacerts Invoke the project properties dialog of your Web Service (Client) project: Select Run/Debug/Profile. Click the button Edit. In the field Run Directory, specify the certificates, keys directory with the following path: C:\Jdeveloper11.1.1.3.0\Oracle\Middleware\jdk160_18\jre\lib\security Restart JDeveloper, and then invoke the secure Web Service.

No comments:

Post a Comment