...
To test this API configuration, you must run the SecureStockQuoteService, which is bundled in the samples folder, as the back-end server. Start this sample as described in Setting Up the ESB Samples. Because this This sample uses Apache Rampart for as the back-end security implementation. Therefore, you might also need to download and install the unlimited strength policy files for your JDK before using Apache Rampart.
To download and install the unlimited strength policy files:
- Go to to http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html, and download the unlimited the unlimited strength JCE policy files for your JDK version.
- Extract Uncompress and extract the downloaded ZIP . You will now have two JAR files: file. This creates a directory named JCE that contains the
local_policy.jar
and andUS_export_policy.jar
files. - In your Java installation directory, go to the the
jre/lib/security
directory, such as:/usr/java/jdk1.8.0_65/jre/lib/security
.Make a backup of the files directory, make a copy of the existinglocal_policy.jar
and andUS_export_policy.jar
files, and then replace them the original policy files with the ones downloaded from the JCE ZIP filepolicy files you extracted in the previous step.
Now that you have set up the API and the secured back-end SOAP service, you are ready to test this configuration with the following curl command.
...