![]() I've assumed that the records are presented in the correct sequence - one header record, an unlimited number of detail records, followed by another header record and so on. The first character is the key field, 'H' for header and 'D' for detail. The detail records hold the employee's previous employers and company locations. ![]() Each Header Record contains a key, employee number, first name, current employer and phone number. The records are grouped by employee, the first record being the header. Please note that the first two rows are for reference only and won't be included when testing. The input file contains a list of employees and their previous employers as shown below. The flat file is being read by a File Adapter so I'll need to configure 'Content Conversion' on the sender communications channel. I'm going to create two Data Types, two Messages Types, two Message Interfaces and a single Interface Mapping. A flat file is deposited on a local FTP server it's read by a Communications Channel, converted to XML, mapped to an inbound XML document and sent back to the FTP server This is a simple asynchronous File to File scenario. This is a basic overview of content conversion using the file adapter.
0 Comments
Leave a Reply. |