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?
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?
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
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.
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.
There is a few more free solutions for AS2:
Both of them are not as flexible as OpenAS2, but have their own features and disadvantages.