My Oracle Support Banner

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 SEPTEMBER 20, 2021

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:





To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.