Trading Networks 10.7 | Administering Trading Networks | Understanding webMethods Trading Networks | Document Processing | Error Logging | Document Recognition Errors
 
Document Recognition Errors
*To determine the document type to use for an XML document, Trading Networks looks at all enabled XML document types. To determine the document type to use for a flat file document, Trading Networks looks at all enabled flat file document types. Each document that passes through your system should match exactly one document type. If a document does not match any document type, or matches more than one document type, Trading Networks considers it an unknown document type. When Trading Networks encounters an unknown document type, it:
*Cannot extract any attribute information from the document, since document types identify the attribute information to extract.
*Tries to process the document using a processing rule that acts on unknown document types, if you define one.
*For documents that match more than one document type, Trading Networks logs a message that identifies those document types to the Trading Networks activity log.
*Trading Networks flags the following during document recognition:
*A sender or receiver error if the external ID of the sender or receiver in the document does not match the value of the external ID in any partner profile.
*An attribute error if Trading Networks cannot extract an attribute that is marked as required in the document type.
*For an XML document, a sender or receiver error if the XQL query in the document type cannot find the SenderID or ReceiverID system attribute in the document.
*For an XML document, a general error if an XQL query in the document type fails. For example, a general error occurs when the document is identified as an XML document but contains invalid XML or is actually another format, such as plain text or EDI.