How to do the receiving process ?

You are here

How to do the receiving process ?

5 posts / 0 new
Last post
Madalai
Madalai's picture
How to do the receiving process ?

The sending process is quite ok but I do not know how to recive the sent file through mec-as2
Can any one help in solving this?

heller
heller's picture

Madalai,

For receiving messages using m-e-c as2 you just need to set up the sending partner in the partner panel, then set the receiver URL in the sending program to the receipt address of m-e-c as2.

But perhaps I didn't get you question right.
If my answer does not help you, could you please explain your problem more detailed?

Regards
Heller

Madalai
Madalai's picture

Heller,
I have set up the m-e-c as2 in two system say "A" and "B" then I have added "A" as the partner to "B" and then "B" as the partner to "A" when I tried to send a file from A to B

I get the following error

mecAS2-1137334688390-64828@Madalai_MadalaiClient: Outgoing message signed using keystore alias "Key1".
[7:48:08 PM] mecAS2-1137334688390-64828@Madalai_MadalaiClient: Outgoing message encrypted using keystore alias "Key1".
[7:48:08 PM] mecAS2-1137334688390-64828@Madalai_MadalaiClient: Outgoing message packed.
[7:48:08 PM] mecAS2-1137334688390-64828@Madalai_MadalaiClient: Sending message to http://192.168.1.212:8084/as2/HttpReceiver, async MDN requested

[7:48:08 PM]
mecAS2-1137334238109-58594@Madalai_MadalaiClient: Outgoing message signed using keystore alias "Key1".

mecAS2-1137334238109-58594@Madalai_MadalaiClient: Outgoing message encrypted using keystore alias "Key1".
[7:48:08 PM] mecAS2-1137334238109-58594@Madalai_MadalaiClient: Outgoing message packed.
[7:48:08 PM] mecAS2-1137334238109-58594@Madalai_MadalaiClient: Sending message to http://192.168.1.212:8084/as2/HttpReceiver, async MDN requested.
[7:48:08 PM] org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 5000 ms

[7:48:08 PM] mecAS2-1137334238109-58594@Madalai_MadalaiClient: HTTP -1
[7:48:08 PM] mecAS2-1137334238109-58594@Madalai_MadalaiClient: Message payload stored to "C:\Documents and Settings\Bosco\Desktop\install_mec_as2_1.0b5\messages\MadalaiClient\error\AS2Message29208.as2".

[7:48:08 PM] mecAS2-1137334238109-58594@Madalai_MadalaiClient: Raw outgoing message stored to "C:\Documents and Settings\Bosco\Desktop\install_mec_as2_1.0b5\messages\MadalaiClient\error\raw\AS2Message29208.as2.raw".

Madalai Muthu.J

heller
heller's picture

Madalai,

Madalai wrote:

[7:48:08 PM] mecAS2-1137334238109-58594@Madalai_MadalaiClient: Sending message to http://192.168.1.212:8084/as2/HttpReceiver, async MDN requested.
[7:48:08 PM] org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 5000 ms

It looks as if you used a wrong URL?
Could you please try to use the URL http://192.168.1.212:8080/mec_as2/HttpReceiver instead? The port 8084 is used by https in the default configuration.

You could always check the server using a browser and entering the receiver URL.

Regards
Heller

Madalai
Madalai's picture