Hello, I've implemented a proxy-to-file scenario in PI 7.3 dual-stack installation. I've used content conversion in the receiver adapter as follows:
Content Conversion Parameter in the Receiver Channel
Recordset Structure: DetailRec,TrailerRec
It works well when there are detail and trail records in the message.
When there are no Detail Records, there will not be any trailer records either. This is done in message mapping.
The Message would like this:
In such a case, I'm supposed to write an empty output file (size 0). I've set the "Empty-message handling" to "Write Empty File" in the file receiver channel. Yet, I'm seeing the following error in the channel monitor:
Could not process due to error: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure '' found in document', probably configuration error in file adapter (XML parser error)'
Any help in resolving this issue is greatly appreciated! Thank you very much!!