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

Reading compressed files with OSB

This recipe will guide you through a sample implementation of a proxy service which polls a directory for XML files compressed using the gzip utility, and uses the Java wrapper created in the previous recipe, to convert it to standard XML which can then be manipulated as normal within the OSB.

Getting ready

This recipe assumes you have completed the first recipe and created the GzipAdapter.jar. Alternatively, you can use the Jar file contained with the samples for this recipe.

Prior to beginning this recipe, you will also want to prepare some test data, consisting of XML files compressed using GZIP.

How to do it...

  1. Open Eclipse and create an OSB project. Name it GzipFileAdapter if you want to follow the example used ...

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