AS2

Setting Up AS2 Receiver

Create a new folder called AS2. This should contain the following, which can be copied from the AS2 Receiver project in Messaging.Core.AS2:

You may add an app setting to Web.config like this: 

<add key="LoggingDeliveryTypeDetailID" value="9999" />

If the receiver cannot find a matching transport to receive a payload, logs will be posted to the transport with the ID provided here by default. 


Right click on "Sites". Add a website named "AS2". The physical path should point to the AS2 folder you created.

Add at least one binding. Recommended ports are 80 and 443. 

Start the website.

Start the application pool.

Setting Up Certificates

Follow the guide here for more information on setting up certificates https://sites.google.com/a/sandfield.co.nz/crossfire/crossfire-system/help-and-faqs/certificates

Configuring Transport Settings

AS2 In Transport

AS2 Out transport

For the current AS2 integrations, see the list here. Please keep this up to date for every new integration.

Common Errors

Error: ASN1 corrupted data

Why it happens: This happens sometimes happens when your trading partner does not sign their AS2 message correctly

Fix: Uncheck Verify Message Signature