Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 17822, Swift Message Processor 2.0

by Dimitris Dinos Email: Anonymous


Parses S.W.I.F.T. (Society for Worldwide Interbank Financial Telecommunication) messages to their tags and builds message strings from their tags.
Download Details
FTP  download also available 0 bytes
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For JBuilder, Version 6.0  to 7.0 7 downloads
Copyright: Commercial use requires permission


Size: 0 bytes
Updated on Wed, 15 May 2002 12:09:02 GMT
Originally uploaded on Mon, 22 Apr 2002 01:59:43 GMT
Description
Overview

Use this component to write a full S.W.I.F.T. (Society for Worldwide Interbank Financial Telecommunication) message handling application in a fraction of the time and effort needed. It is a collection of objects and methods that take care of the most difficult tasks when building an automatic payments and money transfer application. Use it to parse any incoming SWIFT message into its tags. Do the reverse action, namely to construct an outgoing SWIFT message by just calling a method. Forget about all the cumbersome formatting details of a SWIFT message and just focus on the data by accessing the SwiftMsg Object. It is a non-visual bean that can be used on the client or the server. Its footprint is extremely light and runs very fast. Besides the basic functions to parse or build the SWIFT message, it provides tens of methods that will make any programmer?s life a lot easier. Read the component documentation to see the abundance of tools to display, clear, get, set, check any tag or block of the message. Try its numerous programming examples provided in the documentation to get started immediately.

The component handles ALL FIN User-to-User messages (MT categories 1-9), which enable users to perform financial transactions of SWIFT.

Background

All S.W.I.F.T. messages conform to a defined block structure. Each message block contains data of a particular type and is used for a particular purpose. A typical S.W.I.F.T. message may consist of the following five blocks:

1. BASIC HEADER BLOCK

2. APPLICATION HEADER BLOCK

3. USER HEADER BLOCK

4. TEXT BLOCK

5. TRAILER BLOCK

Each block is sub-divided into a number of tags followed by their values. Each tag hosts particular information (e.g. Message date, Bank Name, Beneficiary name etc) and are defined in the SWIFT manual.

The SwiftMsgProcessor component consists of three Objects.

The Objects are ?SwiftMsgProcessor?, ?SwiftMessage? and ?Tag?.

SwiftMsgProcessor has two methods encapsulating all the functionality needed to handle a S.W.I.F.T message:

ParseMsgStringToObject method takes as Input, a string with message as it arrives from SWIFT. First validates the message for syntax errors and then parses it producing the SwiftMessage object whose properties contain the values of the message tags.

BuildMsgStringFromObject method will construct the outgoing message string ready to be transmitted to SWIFT. Takes as input the tags of the message and performs all the necessary formatting to produce a valid message.

SwiftMessage object is the heart of the component. Its properties are the message tags. Has methods to do most of the management necessary such as print, clear, set, get, isBlockEmpty and so on.

Tag object is used to handle the message tags. Its properties are name and data. Is accompanied by a number of utility methods to set and get the values or do other manipulation.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03