Overview
Script task to send electronic documents (EDI, XML) using Applicability Statement 2 (AS2) specification.
Setup
The task has the following parameters:
- HttpConnection - selects HTTP Connection.
- IsInputFileVariable - indicates whether the input file path is stored in a variable.
- InputFile - selects input file connection manager.
- InputFileVariable - selects variable containing input file path.
- ContentType - selects or specifies input file type.
- AS2From - specifies AS2-From identifier.
- AS2To - specifies AS2-To identifier.
- ResultFile - selects result file connection manager where the transmission result is stored.
- Encrypt - selects whether the input file is encrypted: None, 3DES, RC2.
- IsRecipientCertificateVariable - indicates whether the recipient certificate file path is stored in a variable.
- RecipientCertificate - selects recipient certificate file connection manager.
- RecipientCertificateVariable - selects variable containing recipient certificate file path.
- Sign - selects whether the input file is signed.
- IsSigningCertificateVariable - indicates whether the signing certificate file path is stored in a variable.
- SigningCertificate - selects signing certificate file connection manager.
- SigningCertificateVariable - selects variable containing signing certificate file path.
- SigningCertificatePassword - specifies signing certificate password.
Configuration
To use this script, you would need to load it in COZYROC JavaScript Task. If you are using COZYROC SSIS+ 2.0 or later, after selecting the corresponding script type and opening the component editor, you can select the script from a dropdown list with the pre-built scripts. For COZYROC SSIS+ 1.9, you can download the JavaScript file and browse to it via the "Import JavaScript code" button.
AS2_Send_Task.jsKnowledge Base
COZYROC SSIS+ Components Suite is free for testing in your development environment.
A licensed version can be deployed on-premises, on Azure-SSIS IR and on COZYROC Cloud.