Using the File Transport to write to a file

In this recipe, we will write a file to the local filesystem (local to the OSB server). We will implement a business service which uses the File Transport to do that. Additionally, we will create a proxy service and control the filename of the file being written by using a Transport Header action.

Using the File Transport to write to a file

Getting ready

No special actions necessary.

How to do it...

We begin with a business service writing a file to a local folder. In Eclipse OEPE, perform the following steps:

  1. Create a new OSB project and name it using-file-transport-to-write-to-file.
  2. Create a business folder in that new project.
  3. In the business folder ...

Get Oracle Service Bus 11g Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.