O'Reilly logo

Oracle SOA Suite 11g Developer's Cookbook by Matt Wright, Antony Reynolds

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exposing a proxy service as a JSON service

There will be times when a client is better served by providing a service with a JSON over HTTP interface, rather than the more common SOAP over HTTP. By re-using the Java code that we built in the Converting between XML and JSON recipe, we'll expose a JSON interface, while working with XML internally to take the best advantage of OSB's strengths.

Getting ready

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 Converting between XML and JSON recipe, as well as the JAR files produced by that recipe.

How to do it...

  1. Select the Oracle Service Bus perspective in Eclipse. Right-click on the OSB configuration project, and select ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required