views:

209

answers:

2

Hello,

I'm currently dealing with customs messages Beans in Java. After filling in the Beans with different values, I want to produce an EDIFACT CUSDEC message corresponding to each message.

For each attribute of a message Bean, I have the information to put the attribute in the right place in EDIFACT CUSEDC format.

Thus, I am looking for a free tool (a Java API) which could ideally convert my full-filled Bean into an EDIFACT CUSDEC message.

I found a commercial solution (not free) there :

http://www.datadirect.com/products/edifact-grid/index.ssp

And a quick tutorial here :

http://biemond.blogspot.com/2008/09/generate-edifact-message-from-xml.html

But ... unfortunately it is not free..

Thanks in advance for your help!

A: 

Just to note that the only solution I found is to implement my own mapping engine.

This is made by having :

  • an xml representation of an edifact message
  • an XPath mapping path attached to each of the bean attributes and mapping them to the xml representation of EDIFACT
Clem
+1  A: 

hi clem,

try http://bots.sourceforge.net it already has a mapping engine.

eppye
That seems to be a good one too ! Thanks eppye, I'll investigate this tool.
Clem