Home » Categories » Solutions by Business Process » E-Business » XML |
Handling Incoming XML Errors |
Article Number: 1758 | Rating: Unrated | Last Updated: Thu, Jun 22, 2023 at 5:02 PM
|
Datafile Software Handling Incoming XML Errors In a well-ordered XML world, incoming XML files will not be the cause of any errors. Sales orders, for example, should not include data elements unknown to the template; orders will quote locations and products already known to you; purchase invoices will correctly refer to your original purchase orders; XML file totals will match the batch totals. The vast majority of XML files will give you no problems. Unfortunately, the real world throws up surprises, particularly when starting to trade with a partner with whom you have not exchanged XML messages before. For this reason it is always recommended that XML received from new partners are first processed using the Pre-Process flag, so that you can check — before any live application files are updated — that the incoming XML file does not display any error conditions. Should errors be reported, then the place to start is from the audit trail. This records the error(s) found, noting the filename(s), and often highlights the problem immediately. The next stage may well be to examine the error file for the XML file concerned. (If you have not requested error files, start doing so by changing the XML definition.) If the XML file did not cause any records to be created or updated, then you might want to recover the XML file from the archive and — after making whatever changes were shown to be necessary in the rest of the system — reprocess the input XML file. Normally it is not possible to reprocess the XML file, and the data from it will have to be entered manually. This will probably require that you print the XML file, marking those records within it that were and were not processed. If there are batch totals, then it is recommended that you check from the audit report that the value of successfully processed input data matches the total of records that you have marked as successfully processed. In a like manner, check that the total of records that you enter manually does match those from the XML file. If you have a browser that includes XML schemas and style sheets for the XML files that you are processing, then the XML file can be displayed as documents that can be used as data input documents; otherwise you’ll have to work from an XML file print (see Diagnostic XML File Print below). |
Attachments
There are no attachments for this article.
|
Foreign Currency
Viewed 1368 times since Mon, Jul 9, 2012
Additional Data Items and Parameters
Viewed 3362 times since Tue, Jul 10, 2012
XML General Configuration
Viewed 1379 times since Mon, Jul 9, 2012
Example Datafile XML Template
Viewed 14574 times since Tue, Jul 10, 2012
Diagnostic XML File Print - Intergrating XML Processes
Viewed 1412 times since Tue, Jul 10, 2012
XML Background
Viewed 1495 times since Tue, Jul 10, 2012
Datafile Software - Keyboard Shortcuts
Viewed 20772 times since Thu, Jul 26, 2012
Element Tags
Viewed 1382 times since Mon, Jul 9, 2012
analysis
Viewed 1380 times since Mon, Jul 9, 2012
Break Item On Output
Viewed 1393 times since Mon, Jul 9, 2012
|