Invoking a JSON service over HTTP from OSB is quite straightforward. Using the Java code that we built in the previous recipe will make working with the JSON messages much simpler.
We'll assume that you have an OSB configuration project in OEPE, and that you have the Jackson and XmlBeans JAR files referred to in the previous recipe, as well as the JAR files produced by that recipe.
InvokeJSONCreditCardService) and click on Finish.
We need to import ...