A trading partner is sending us XML transactions. But sometimes these XML transaction have XML special characters in them like <,>, or &.
Obviously, it’s not valid XML, and Trading Network understandably gives
Unable to get XML content for corrupted doc 50001c000qujgamq0000017d. The original exception message is: com.wm.lang.xml.WMDocumentException: [ISC.0042.9325] Element <line_comment> is missing end tag.
Is there any way to have TN catch these kinds of exceptions and execute a flow service that can alert me when this occurs?
A little trickier - can I somehow still interrogate the XML to get the Sender ID out of it?