Symptoms
Consider the following scenario:
-
You apply the SWIFT Message Pack on Microsoft BizTalk Server.
-
You try to process a service message that has a type indicator of 21.
In this scenario, you may receive the following error message:
Publishing failed message to MessageBox. Details: The single message of type S21_FIN_ACKNAK, whose Interchange ID is {InterchangeID}, has been marked as A4SWIFT_Failed=True in the MessageBox database by the SWIFT Disassembler.
This message failed with 0 parse errors, 1 XML validation errors, and 0 BRE validation errors. Error details can be extracted from the failed message in the MessageBox database by subscribing to messages where A4SWIFT_Failed=True.
Cause
This issue occurs because the MTS21_FIN_ACKNAK.xsd schema in the Microsoft.Solutions.FinancialServices.SWIFT.FrrSchemas.dll file of Message Pack requires the message to have a trailer block. However, the service message that has a type indicator of 21 does not have a trailer, and the SWIFT User Handbook indicates that the trailer block is optional for this message type.
Cumulative update information
The fix that resolves this issue is included in Cumulative Update 2 for SWIFT Message Pack 2015.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.