While getting my BizTalk SWIFT environment prepared on BizTalk, I decided to test the waters by running through the Tutorial – big trouble in little Sydney resulted.

While the tutorial is comprehensive, it’s written for previous versions of the SWIFT accelerator so there’s the few paths (BREConfigurator.exe.config) that need correcting for some of the SDK tools. Which I can live with as their part of the SDK and this isn’t quite baked BizTalk 2013 yet.

The part where I hit trouble is that during the tutorial once schemas + rules are deployed, you are to drop a sample MT103_Sample.txt into a folder and viola – it appears as XML in another folder.

The MT103_Sample.txt is incomplete/incorrect for the SWIFT Schema – I had a whole series of errors. Called upon my trusted SWIFT guru Angelo whom could just look at the message and tell me what bits to remove and I should replace parts with a an Australian Bank who’s code is ‘XXXXSSBCXXX’ (scared me), we almost got the file working.

We decided to settle on this working file MT103 Sample:

Feel free to use it and remove the leading and trailing CRLF in your file.

Mick.

{1:F01SAAJBEBBAXXX0000000001}{2:I103SAAJBEBBXXXXN2020}{4:
:20:TEST000001
:23B:CRED
:23E:SDVA
:23E:INTC
:23E:CORT
:23E:PHOB
:23E:TELE
:23E:PHOI
:26T:AAA
:32A:001118USD3,34
:33B:DEM3,34
:36:1,3456789012
:50A:/34x
SALABEBB
:52A:/C/34x
SALABEBB
:53D:/D/34x
4X35x
:54B:/C/34x
35x
:55B:/C/34x
35x
:56A:/C/34x
SALABEBB
:57A:/C/34x
SALABEBB
:59:4X35x
:70:35x
3X35x
:71A:OUR
:71G:USD1,34
:72:/AAAAAAAA/25x
/A/32x
//33x
/A/x
//x
//x
:77B:35x
2X35x
-}

 

And here’s the original MT103 Sample.txt working message:

{1:F01BOFAUSNYJXXX4321000123}{2:I103BANKDEFFAXXXN2020}{3:{103:CAD}}{4:
:20:NY20040126000111
:23B:CRED
:32A:040116USD1000000,00
:50K:/987654321
Big Deal Real Estate
Madison Avenue
New York, NY USA
:57A:/654321
NOSCATTT
:59:/1234567890123
I. Buy Buildings
200 Front Street
Toronto, Ontario
Canada
:70:re real estate purchase
10000 King Street East
Toronto
:71A:OUR
-}{5:{CHK:123456789012}}


Blog Post by: Mick Badran