A4SWIFT on BizTalk: Generating a valid MT103; how to create the CHK and MAC fields?

柔情痞子 提交于 2020-01-15 10:15:18

问题


We're working on using BizTalk generate a valid SWIFT message (initially MT 103) and dropping it onto an endpoint. However, we're struggling to generate a valid message.

As part of this, we think we need to clear up our thinking surrounding the SWIFT FIN MT 103 Trailer block fields, CHK and MAC.

Firstly, is this BizTalk/A4SWIFT's responsibility, or should we generate these fields?

Microsoft's documentation says:

The actual FIN interface or the SWIFT network appends the trailers. If a message contains a trailer when A4SWIFT receives the message, A4SWIFT carries the trailer with the message. A4SWIFT does not raise an error if a message does not contain a trailer when A4SWIFT receives the message. As with headers, all of the trailer entries, including the blocks themselves, are optional in A4SWIFT.

SWIFT Header and Trailer Schemas

... but this seems to be talking about inward SWIFTs with the {5:} trailer and CHK and MAC fields.

Secondly, if it is our concern, how do we generate the CHK and MAC?

Even when we figure that out, there seems to be a location in the A4SWIFT MT 103 schema for the CHK ...

... but not for the MAC which seems to be some form of authentication token.

来源:https://stackoverflow.com/questions/44524346/a4swift-on-biztalk-generating-a-valid-mt103-how-to-create-the-chk-and-mac-fiel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!