Transfer an EDI or XML document from one machine t

2019-05-22 23:20发布

问题:

I want to write a simple java program to transfer an EDI or XML document from one machine to another machine using the AS1 or AS2 or AS3 protocol.

Can anyone help me to get started with it?

回答1:

The latest updates to OpenAS2 have just been released and includes fairly documentation which should help anyone reading this to better understand setting up and using the OpenAS2 application from sourceforge



回答2:

All three use different transport layers (SMTP, HTTP, FTP). AS2 would probably be easier.

This should put you in the right direction:

http://sourceforge.net/projects/openas2/

You would need it on both machines - to listen and send. Also MDNs would need to be considered. AS2 is a good fit for B2B, but the way your question is worded, that makes it seem like its not the case (machine to machine - on the same network), in which case it probably isn't the most efficient method of transferring files.



回答3:

OpenAs2 would be a good choice. I have recently did some configurations on OpenAS2 to do the file transferring. If you have any questions on installing, configuring, applying certificates, running the OpenAS2 server on both Windows and Linux, I may be able to help you.



回答4:

There is a few more free solutions for AS2:

  • If you are not an EDI provider and only one trading partner is enough, you may try RSSBus AS2 connector. It has web-interface and easy to start.
  • There is also an opensource version of Mendelson AS2 with Swing GUI and a lot of features.

Both of them are not as flexible as OpenAS2, but have their own features and disadvantages.



标签: java xml edi