We are working with new managed services customer and they have a requirement related to "base64 encoded embedded attachments in XML file". We approached GIODE engineering team (RTC # 490297) and they asked us to submit this RFE with PLM team.
Requirement - Customer receives inbound XML messages from their Trading Partner. Each XML message can have any number of base64 encoded embedded attachments in them. They would like us to
1. Extract all base64 encoded attachments under the XML Node
2. Decode attachments, rename them and handle them as pass-through via GIODE and deliver them to Client (using protocol of their choice)
3. Keep original XML file in tact (maintaining validity of the source XML message) and translate XML payload to Flat file and deliver it to Client (using protocol of their choice)
We don't need to worry about protocols supporting attachments in this case as document is NOT Multi-part MIME. Instead incoming XML file with embedded attachments will look like any other regular XML file. We need an XPROCESSOR that can let us configure XML node under which we can expect to see base64 encoded image files and extract/decode/route them...We need to account for multiple iterations of that node in XML data. We can provide sample files as needed.