Failed Messages and ErrorCollection Objects

In addition to decorating a failed message with promoted properties, Microsoft BizTalk Accelerator for SWIFT (A4SWIFT) publishes the failed message to the MessageBox database with an additional message part, called ErrorSegment. This error part contains XML representing an ErrorCollection object. The A4SWIFT disassembler populates the ErrorCollection object during each stage of message processing (parsing, XML validation, and Business Rule Engine (BRE) validation).

The ErrorCollection object is a collection of error objects, each of which represents a particular error or failure during message processing. The individual error objects contain details about a single failure (such as the location in the message and a description of the failure).

For more information about the ErrorCollection application programming interface (API) and usage details, see ErrorCollection Class. For more information about individual error objects, see ErrorBase Class (the base class for error objects), BreValidationError Class, ParseError Class, and XmlValidationError Class.

This section contains: