Java SWIFT Library

心已入冬 提交于 2019-11-27 05:24:57

问题


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

  • AnaSys Message Objects (link text)
  • Datamation SWIFT Message Suite (link text)

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?


回答1:


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.




回答2:


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.




回答3:


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.




回答4:


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.




回答5:


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.




回答6:


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.




回答7:


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




回答8:


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?



来源:https://stackoverflow.com/questions/25192/java-swift-library

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!