How Can I Write An Empty File With File Adapter?

(Doc ID 415607.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.1
Information in this document applies to any platform.

Goal

How to write an empty file to DB Adapter?

Guess you have the following BPEL process :

1. Read data from database adapter
The returning collection MasterColl can be empty.
2. Read file name from a different database adapter
Never empty.
3. Customer like now to write a file with the file adapter.
With filename from step2 and if MasterColl is empty with no content (empty file).

But you will get an error message saying that the element MasterColl is not closed.


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms