Generally, processing involves:
1. An XML document is placed into the IN folder on the integration server.
2. The Integration Server registers it (inserting in the Wait List table).
3. The Integration Server processes it in priority order, updating the Zavanti Application tables.
•Open the XML file for the filename in the Wait List record.
•Loop through documents in the XML file.
•As documents are processed insert an Integration Processing record for the document with status set to Processed.
•Commit after each valid document is processed.
•If a document with an error is processed:
o insert into the Integration Audit detailing the error
o rollback any database changes made for the document in error
•If error is found during processing, insert a second Integration Audit record on processing completion detailing the number of documents in error and the number of detail lines involved.
4. The Integration Server moves the XML document to the PROCESSED folder.