With an AS2 Gateway, outgoing messages are transmitted using an AS2 connection.
AS2 (Applicability Statement 2) is a specification about how to transport data securely and reliably over the Internet. Security is achieved by using digital certificates and encryption.
The following fields should be defined in order to configure your AS2 access:
From
Babelway source server.
To
AS2 ID of the server that receives outgoing messages. Provided by your partner.
Type
MIME/TYPE used to transfer the AS2 message to your partner. Possible values are :
"edi", for the content type "application/EDIFACT".
"x12", for the content type "application/EDI-X12".
"eco", for the content type "application/edi-consent".
"xml", for the content type "application/XML".
"bin", for the content type "application/ octet-stream".
DEFAULT is "bin".
Attachment name
Name of the file sent by AS2. This is an extension to the base AS2 specification and might not be supported by all partners. By default no file name is sent.
Recipient address
The endpoint URL of the receiving gateway ,requires protocol prefix in URL (http:// or https://).
AS2 documentation
File containing instructions and certificates for the installation. You should download it and send it to your AS2 partner.
Compress message
Should the message be compressed or not?
Encrypt message
Should the message be encrypted or not?
Certificate for encryption
Certificate used for message encryption. Provided by your partner.
Encryption algorithm
Select algorithm used for encrypting message, if any.
Sign message
Should the message be signed or not?
Certificate for signature
Local certificate to use for signing AS2 messages. The certificates are kept in the environment certificates store.
Signing algorithm
Select algorithm used for signing the AS2 message. DEFAULT is SHA-1.
Request receipt
Should a receipt be sent when a request is received or not.
Asynchronous receipt
Should we expect the receipt asynchronously or not. If you select asynchronous then the message will wait up to 7 days for a receipt confirming successful or unsuccessful reception. If by that time no receipt had arrived the message will be set in error.
Signed receipt
Should the receipt be signed or not.
MIC algorithm
Select Message Integrity Code algorithm used to compute the MDN of the message. DEFAULT is SHA-1.
Timeout
Timeout in milliseconds that defines how long the AS2 HTTP connection waits for a response before failing.(default is 30000ms - 30secs)
Message signature enforced
Should message signature be enforced or not. This parameter only applies if no AS2 IN gateway is configured for this partner (same AS2 FROM and AS2 TO).
Certificate for verification
Certificate used for message verification. Provided by your partner. This parameter only applies if no AS2 IN gateway is configured for this partner (same AS2 FROM and AS2 TO).
Maximum retries
Maximum number of retries if message sending failed. Default is 8 times.
Retry interval
Interval of time before trying to send message again (in seconds). Default is 1800 (30 minutes).
To report AS2 parameters to the other party, download the AS2 documentation ZIP file. This file can be sent to the other party to give them all parameters they will require to establish a communication with your channel.
Some rare providers might also require a Basic authentication on their endpoint. This can be achieved by setting the credentials directly in Recipient address url in the following form:
https://username:password@myendpointurl.com
Note:
The Listening ports for the AS2 Gateway are:
When using the HTTPS protocol the Listening port is 443.
When using the HTTP protocol the Listening port is 80.
If there is a file name provided in the "Message In" or "Message Out" which contain ~ tilde character, All browser based on Chromium will replace the ~ tilde character by the _ underscore character when you try to download the file from the Babelway interface, For more details you can check this link https://bugs.chromium.org/p/chromium/issues/detail?id=479419
The maximum file size accepted by this gateway is 100/250 MB.
The maximum filename supported for the AS2 "Gateway Out" is 56 characters.
Even if you are not encrypting your outgoing messages, the certificate for encryption property may still be used by the system. The gateway will automatically try to use the certificate for encryption as a fallback to verify the MDN signature if the certificate for verification is not present.