Thursday 11 July 2013

FILE ADAPTER : IgnoreZeroByteFile

PROBLEM DESCRIPTION:
--------------------
We are using FileAdapter 11.1.1.5.0 with SOASuite SyncReadMode to read 0 byte
data file. We don't want it cause exception,but it caused even we use IgnoreZeroByteFile Property="true" in
composite.xml.

EXPLANATION:
------------
The current behavior is expected .
In this  use case ,the file read uses a specific schema for it's translation
The property "IgnoreZeroByteFile" is only applicable to "opaque schema"

If you refer to the Table "36-5 Oracle File Adapter Properties" in the link
http://docs.oracle.com/cd/E14571_01/integration.1111/e10226/bc_config.htm

it clearly mentions that
" This parameter(IgnoreZeroByteFile)  is ignored if the schema for the
inbound file is anything other than opaque. "

So , for the current case , setting the property IgnoreZeroByteFile to
true/false would have no effect on the processing.

No comments:

Post a Comment