MT2XML transforms SWIFT Message Type (MT) messages to XML conforming to the schemas issued by SWIFT in SWIFT Standards Developer Kit (SDK).
Configuration and Testing
Component Configuration
Figure 1 : MT2XML Configuration
Attributes
Error handling configuration
Please refer Error Handling section in Common Configurations page.
Standard Release MT Year
Year in which SWIFT released SDK schemas.
Standard Release Years supported by MT2XML component and available in this property are:
- 2012
- 2013
Message Schema File
Name of standard MT message schema present in Schema Repository , for example 'fin.202.2012.xsd. It is the Schema file according to which transformed XML conforms.
These schema files are present at the following location:
%FIORANO_HOME%\xml-catalog\fiorano\swift\mtxml\<StandardReleaseMTYear>.
The component supports MT-XML transformation of all MT messages.
Testing
Input and Output
Sample Input
A sample of message type MT101 – Request for Transfer:
{1:F01BNKACH22BIC00000000000}{2:I101BNKAGB22XBICU3005}{3:{113:XXXX}}{4: :20:FILEREF1 :21R:UKSUPPLIER090901 :28D:1/1 :50H:/8754219990 MAG-NUM INC. GENERAL A/C BANHOFFSTRASSE 30 ZURICH, SWITZERLAND :30:090905 :21:TRANSREF1 :32B:GBP12500, :59:/1091282 Beneficiary 1 LOW STREET 1 LONDON, UK :71A:OUR -} |
Output
XML output of the component for the above sample input: