Very clear example thanks, but I have a slightly different structure of the XML which is causing me headaches :
In my example, the "record" node is missing
<StartBatch>
<Header>
<BatchID>K305</BatchID>
<Sender>Food Mart</Sender>
</Header>
<Record>---------missing
<Message>
<ID>101</ID>
<Batch></Batch>
<Sender></Sender>
</Message>
<ID>102</ID>
<ID>103</ID>
</Record> ------ missing
</StartBatch>
& so I can't process my XML. Can this technique still be used.
It has been a while since I worked with Envelopes but if I remember correctly, you should still be able to split out the messages. Just set your Body XPath on the root node. This should break out all your message nodes. On the down side, it will also break out your Header node so you’ll need a way to handle it.
Hope this is clean enough.
Stephen W. Thomas
Hello,
In the beginning of your post you wrote that you was not able to make the debatching working on the send pipeline (with the XMLAssembler component).
Is it always true ?