Java SWIFT Library
Asked Answered
B

9

34

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?

Bigamy answered 24/8, 2008 at 17:5 Comment(0)
B
21

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: http://www.swift.com/support/drc/develop/standards.page

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

Bias answered 1/7, 2009 at 6:59 Comment(1)
Swift Developer Kit is not a free resource, you have to pay 10,000 euros per year swift.com/ordering-support/developer-resource-centre/develop/…Blackman
E
24

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.

Extensity answered 2/9, 2008 at 16:44 Comment(3)
WIFE is now called Prowide Core and is available on Github at github.com/prowide/prowide-coreParanoia
We also use Prowide Core for SWIFT message integration and it's a really stable and great library to use. Also good community support on GitHub.Helminthiasis
May I know what are the alternatives for Prowide Core as of May 2022. What are the libraries available out in the market with good community support?Milling
B
21

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: http://www.swift.com/support/drc/develop/standards.page

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

Bias answered 1/7, 2009 at 6:59 Comment(1)
Swift Developer Kit is not a free resource, you have to pay 10,000 euros per year swift.com/ordering-support/developer-resource-centre/develop/…Blackman
N
8

You can combine the open source implementation WIFE with the commercial validation component from http://www.prowidesoftware.com. It validates that the messages you create with the model or XML representation are good through SWIFT network validation rules.

Nepotism answered 20/3, 2012 at 22:31 Comment(0)
C
2

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.

Christopherchristopherso answered 14/11, 2008 at 3:48 Comment(0)
G
1

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.

Goodlooking answered 24/8, 2008 at 17:5 Comment(0)
U
0

I can not really help you out with a Java implementation. Microsoft of course, have their own Biztalk adapter for ISO15022 and 20022. 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?

Unglue answered 24/8, 2008 at 17:52 Comment(1)
BTW it is ISO 20022 not ISO 200022Christopherchristopherso
P
0

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.

Pitapat answered 11/1, 2009 at 23:16 Comment(0)
F
0

paymentcomponents (http://www.paymentcomponents.com/) 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

Fachan answered 26/5, 2010 at 10:29 Comment(0)
O
0

Datamation's libraries have evolved since then. If you need a corresponding solution in 2021, you can check FINaplo by PaymentComponents (formerly called Datamation), a multi-purpose implementation for financial messages.

It provides online validation/parse/translation/envelope services, Java SDKs, as well as REST solutions, all including error specifications. I am actually one of the authors.

A demo for a SWIFT MT Java library can be found in this GitHub link.

Opal answered 17/4, 2021 at 15:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.