Receiving files with the open source program

You are here

Receiving files with the open source program

4 posts / 0 new
Last post
Daniel Benoy
Daniel Benoy's picture
Receiving files with the open source program

How do you receive files with the open source version? There's a little tutorial that comes up explaining how you can send something to a test server, but it makes no mention of receiving files .. in fact, I can't find any details at all explaining what to do about that.

heller
heller's picture

Daniel,

As AS2 receiver you have to set up an AS2 partner in the partner configuration, then your partner could send AS2 messages to the URL http://yourhost:8080/as2/HttpReceiver.

Regards
Heller

Daniel Benoy
Daniel Benoy's picture

I'm having difficulty doing what you've suggested.

It seems that address is returning '503', which means service unavailable, but the receiving software isn't outputting any kind of error message to diagnose the problem with.

The sending software gives me this:
----
[Aug 11, 2010 3:31:43 PM] mendelson_opensource_AS2-1281555103408-0@BAS2_AAS2: Outgoing message signed with the algorithm SHA-1,using keystore alias "B".
[Aug 11, 2010 3:31:44 PM] mendelson_opensource_AS2-1281555103408-0@BAS2_AAS2: Outgoing message encrypted with the algorithm 3DES, using keystore alias "A".
[Aug 11, 2010 3:31:44 PM] mendelson_opensource_AS2-1281555103408-0@BAS2_AAS2: Outbound AS2 message created from "test" for the receiver "A" in 960ms, raw message size: 2.33 KB
[Aug 11, 2010 3:31:44 PM] mendelson_opensource_AS2-1281555103408-0@BAS2_AAS2: Sending message to http://momo2.execulink.net:8080/as2/HttpReceiver, sync MDN requested.
[Aug 11, 2010 3:31:45 PM] mendelson_opensource_AS2-1281555103408-0@BAS2_AAS2: Transaction state written to /usr/local/src/install_mendelson_opensource_as2_1.1b31/messages/A/sent/B/20100811/test_mendelson_opensource_AS2_1281555103408_0@BAS2_AAS2.sent.state.
[Aug 11, 2010 3:31:45 PM] mendelson_opensource_AS2-1281555103408-0@BAS2_AAS2: HTTP 503
[Aug 11, 2010 3:31:45 PM] mendelson_opensource_AS2-1281555103408-0@BAS2_AAS2: Message payload stored to "/usr/local/src/install_mendelson_opensource_as2_1.1b31/messages/A/error/B/20100811/AS2Message4310120697537134134.as2".
[Aug 11, 2010 3:31:45 PM] mendelson_opensource_AS2-1281555103408-0@BAS2_AAS2: Raw outgoing message stored to "/usr/local/src/install_mendelson_opensource_as2_1.1b31/messages/A/error/B/20100811/raw/error3791976393210686062.raw".
[Aug 11, 2010 3:31:45 PM] mendelson_opensource_AS2-1281555103408-0@BAS2_AAS2: Transaction state written to /usr/local/src/install_mendelson_opensource_as2_1.1b31/messages/A/sent/B/20100811/test_mendelson_opensource_AS2_1281555103408_0@BAS2_AAS2.sent.state.
----

Daniel Benoy
Daniel Benoy's picture

Got it working. Turns out the linux startup script 'mendelson_as2_start.sh' wasn't including everything required for operation into the CLASSPATH variable.