I am working on an In house EDI solution and I am currently trying to get OpenAs2 running and tested to confirm That I can use it in my project. My first test was to create a Test connection with Amazon and I am almost complete I have set up Partner and Certificates and have been able to receive the test file from Amazon. The issue is with sending the test file to Amazon. It looks like it works I posted the log after I send a file. But it does not show on amazons side and also the mdn I believe shows and error. I added the file as an attachment. Anyone have any idea of what the issue may be
I am working on an In house EDI solution and I am currently trying to get OpenAs2 running and tested to confirm That I can use it in my project. My first test was to create a Test connection with Amazon and I am almost complete I have set up Partner and Certificates and have been able to receive the test file from Amazon. The issue is with sending the test file to Amazon. It looks like it works I posted the log after I send a file. But it does not show on amazons side and also the mdn I believe shows and error. I added the file as an attachment. Anyone have any idea of what the issue may be
2021-09-21 16:48:55.359 FINE DirectoryPollingModule: processing C:\Users\awright\Documents\OpenAS2Server-2.11.0\bin..\config..\data\toAmazon\ConnectivityTest.txt
2021-09-21 16:48:55.364 FINE MessageBuilderModule: File assigned to message: ConnectivityTest.txt [OPENAS2-21092021164855-0700-cbc58cb4-192d-45cd-b076-8acd41d111d8@marchProductsAS2_SN35I0XA8E9GWUT]
2021-09-21 16:48:55.364 FINE AS2SenderModule: message sender invoked [OPENAS2-21092021164855-0700-cbc58cb4-192d-45cd-b076-8acd41d111d8@marchProductsAS2_SN35I0XA8E9GWUT]
2021-09-21 16:48:55.370 FINE AS2SenderModule: Save Original mic & message id information into file: C:\Users\awright\Documents\OpenAS2Server-2.11.0\bin..\config/../data/pendinginfoMDN3/OPENAS2-21092021164855-0700-cbc58cb4-192d-45cd-b076-8acd41d111d8@marchProductsAS2_SN35I0XA8E9GWUT [OPENAS2-21092021164855-0700-cbc58cb4-192d-45cd-b076-8acd41d111d8@marchProductsAS2_SN35I0XA8E9GWUT]
2021-09-21 16:48:55.372 FINE AS2SenderModule: Connecting to: http://as2.amazonsedi.com/40a4b77b-2a7b-4d7a-85db-078eeebfe409 [OPENAS2-21092021164855-0700-cbc58cb4-192d-45cd-b076-8acd41d111d8@marchProductsAS2_SN35I0XA8E9GWUT]
2021-09-21 16:48:55.941 FINE AS2SenderModule: Message sent and response received in 566 millisecondsms [OPENAS2-21092021164855-0700-cbc58cb4-192d-45cd-b076-8acd41d111d8@marchProductsAS2_SN35I0XA8E9GWUT]
Have you looked at this post:
https://sourceforge.net/p/openas2/discussion/265568/thread/72dd7d38/
Make sure you 4096 length certificate and try this
<partnership name="YOUR_PARTNERSHIP_NAME"> <sender name="YOUR_SENDER_NAME"/> <receiver name="YOUR_RECEIVER_NAME"/> <attribute name="protocol" value="as2"/> <attribute name="content_transfer_encoding" value="8bit"/> <attribute name="subject" value="New message to Amazon"/> <attribute name="mdnsubject" value="Your requested MDN response from $receiver.as2_id$"/> <attribute name="as2_url" value="http://as2-eu.amazonsedi.com/ff51dd98-<CORRECT_URL>"/> <attribute name="as2_mdn_to" value="as2@as2-eu.amazonsedi.com"/> <attribute name="as2_mdn_options" value="signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, SHA256"/> <attribute name="encrypt" value="AES256"/> <attribute name="sign" value="SHA256"/> <attribute name="resend_max_retries" value="3"/> <attribute name="prevent_canonicalization_for_mic" value="true"/> <attribute name="no_set_transfer_encoding_for_signing" value="false"/> <attribute name="no_set_transfer_encoding_for_encryption" value="false"/> <attribute name="rename_digest_to_old_name" value="false"/> <attribute name="remove_cms_algorithm_protection_attrib" value="false"/> <attribute name="no_chunked_max_size" value="104857600"/> </partnership>