SOA 11g: Using File/FTP Adapter to Read Files from AS400 has Leading Zeros being Dropped from Payload

(Doc ID 1570088.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle SOA Suite - Version and later
Information in this document applies to any platform.



While converting an existing 10g BPEL process into a new SOA 11g composite service.
The process was migrated to 11g using the migration wizard in Jdeveloper.

The service is using a FTP adapter to pick up at file from an AS/400 box and convert the data (Cobol CopyBook) in an XML file using an XSD generated using Native Translator.

When the process runs as a 11g composite, leading and trailing zeros on certain elements in the payload are suppressed.
The zeros need to be retained for downstream services being called to process correctly.

Examples of the effected elements in file are as follows:

In 11g we see:



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