Java SWIFT库 [英] Java SWIFT Library

查看:104
本文介绍了Java SWIFT库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找SWIFT消息的Java库。我想

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


  • 将SWIFT消息解析为对象模型

  • 验证SWIFT消息(包括SWIFT网络)验证规则)

  • 使用对象模型构建/更改SWIFT消息

理论上,我需要支持所有SWIFT消息类型。但目前我需要MT103 +,MT199,MT502,MT509,MT515和MT535。

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对所有SWIFT消息使用内部XML表示,您需要知道这些消息才能访问消息的字段。而且你需要操作XML表示的DOM,没有办法说获取SWIFT消息的字段'50K'的内容。

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".

和Datamation库似乎有更好的API,但没有发现所有错误。

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

所以有人知道其他SWIFT库可以使用吗?

So does anyone know other SWIFT libraries to use?

推荐答案

SWIFT发布了Standards Developer Kit,其中包括MT / XML Schema Library。

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

来自doc:
MT / XML模式库是MT消息的一套完整的XML模式定义,以及显示如何将消息从MT格式转换为MT XML表示并返回。这种方法允许应用程序之间的XML集成,而MT(FIN)格式将继续通过SWIFT网络传输。

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源代码还将从doc:
工作示例Java源代码,将MT格式的消息转换为XML实例,从XML实例转换为MT格式的消息。

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."

请参阅: http://www.swift .com / support / drc / develop / standards.page

这对于处理XML语法中的FIN消息非常有帮助。

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

这篇关于Java SWIFT库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆