tags:

views:

2771

answers:

8
+8  Q: 

Java SWIFT Library

I'm looking for a Java library for SWIFT messages. I want to

  • parse SWIFT messages into an object model
  • validate SWIFT messages (including SWIFT network validation rules)
  • build / change SWIFT messages by using an object model

Theoretically, I need to support all SWIFT message types. But at the moment I need MT103+, MT199, MT502, MT509, MT515 and MT535.

So far I've looked at two libraries

Both libraries allow to accomplish the tasks mentioned above but in both cases I'm not really happy.

AnaSys uses a internal XML representation for all SWIFT messages which you need to know in order to access the fields of a message. And you need to operate on the DOM of the XML representation, there is no way to say "get the contents of field '50K' of the SWIFT message".

And the Datamation library seems to have the nicer API but does not find all errors.

So does anyone know other SWIFT libraries to use?

A: 

I can not really help you out with a Java implementation. Microsoft of course, have their own Biztalk adapter for ISO15022 and 200022. And they will actually do the validation fairly well. But as you say you are actually looking for a java solution.

You might find, as I did when I researched this 6 years ago, that mapping FIN messages to XML and then to into objects, a standard library will only get you partly to your goal. You will have to integrate this with your backend application and whatever market practices you face in the particular messages you need to support.

I finally ended up writing a generic FIN parser /150022 class library in c++.

Anyway, good luck. An idea is to be more specific in your question. What types of messages do you need to support?

vzczc
BTW it is ISO 20022 not ISO 200022
Julien Grenier
+3  A: 

Have you looked at WIFE? We use that in our application which translates SWIFT messages to an internal XML format and back again. We haven't had any problems with it. Also, it's licensed under the LGPL, so you can hack it up if you need to. Check it out.

jodonnell
A: 

If your company is not comfortable with the LGPL license, You might want to check Progress Sonic ESB, or ArtixDS (recently acquired), TIBCO ActiveWhatever or Oracle/BEA Aqualogic. Chances are you are already using something from these companies and you can get decent discount.

ddimitrov
A: 

There is a product call Volanté that make a great job. Their solution is certified by SWIFT and the integration is easy ( I sound like I'm working for them ... I'm not). I've been using it since a couple of month .

IBM is also offering a solution (cannot remember to name right now) but then you are committed to the big blue.

Julien Grenier
A: 

Along with jodonnell, we also use WIFE. It works very well. I'm not sure if it does the network validation rules (#2 on your list) though.

Marcus
+4  A: 

Hi all,

SWIFT is releasing a "Standards Developer Kit" which includes an "MT/XML Schema Library".

From the doc: "The MT/XML Schema Library is a complete set of XML schema definitions for MT messages, and software which shows how to convert messages from an MT format to an MT XML representation and back. This approach allows XML integration between applications while the MT (FIN) format will continue to be transported over the SWIFT network."

Java source code will also be made available, again from the doc: "Working sample Java source code that converts a message in MT format to an XML instance and from an XML instance to a message in MT format."

See: https://www.swiftcommunity.net/communities/download.cfm?id=4798

This can be a great aid in dealing with FIN messages in XML syntax.

A: 

To use WIFE do you need to write the code, I am trying to use the WIFE but not sure how to!!!

MR
A: 

paymentcomponents (http://www.paymentcomponents.com/development_tools/swift_mt_payments/swift_mt_payments.html) parser was easy to use and found all errors. Their site definitely needs work but if u look there, u'll find what u r looking for

Elijah