Split Source Message to Multiple Files
I would like generate a new file in the File Adapter for each instance of the <Payload> in the source XML message. The source XML message has a looping <Payload> field.
Incoming XML Message sent via SOAP over HTTP (SOAP Adapter):
<Root> <Header> </Header> <Payload> <Instance>First</Instance> </Payload> <Payload> <Instance>Second</Instance </Payload> <Footer> </Footer> </Root>
2 fixed width files - one for each Payload (FCC in the File Adapter)
These are the changes Iu2019ve done so far:
1. In the IR, Message Mappingu2019s Message tab, change the occurrence of the message type from 1 (by default) to 0........unbounded
2. In the IR, Interface Mapping, change the occurrence of the target interface from 1 (by default) to 0........unbounded
3. In the ID interface determination, change the type of interface determination from Standard to Enhanced
But it's only generating one file in the output for the first instance of the <Payload>. What am I doing wrong? Do you have any other solutions?
Thanks in advance!