Overview
You may notice that files are accumulating in the XMLAPI folder and, as a consequence, sending the faxes is very slow or they are not sent at all.
Restarting the services and rebooting the server doesn't seem to help.
Solution
XMLAPI files are not processed when they contain invalid characters.
Check the logs for character-related issues, like the following in the AS.Plugins.Archiving.Processing.log
file:
2022-02-22,21:32:06,863,1,"#000009A8","#00000036","error ","AS.Plugins.Archiving.Processing","ERROR: Processor::Process::Exception: failed to process and parse envelope [ea34634a-0d12-4dfb-8e38-0403a9c250ee.xml.processing] [exception: Failed to parse envelope.]."
2022-02-22,22:13:53,258,1,"#000009A8","#00000027","error ","AS.Plugins.Archiving.Processing","ERROR: Envelope::Parse::Exception: failed to load XML Document: System.Xml.XmlException: ']]>' is not allowed in character data. Line 15, position 23.
2022-02-22,22:13:53,258,1,"#000009A8","#00000027","error ","AS.Plugins.Archiving.Processing","ERROR: Envelope::Parse::Exception: failed to load XML Document: System.Xml.XmlException: Unexpected end of file has occurred. The following elements are not closed: info, status_code, item, cached_data. Line 15, position 24.
In the log snippet above, ]]>
is reported as invalid, although this may vary from case to case.
Check the application where the XMLAPI file is created and review its structure to not include extraneous characters.