Discuss this help topic in SecureBlackbox Forum

EDI: Compose plain AS2/AS3 messages

Plain message is the simplest message format which does not provide neither any security nor compression. In order to create such a message for AS2 delivery, the following steps should be performed:

  1. Create an instance of the TElAS2Message class;
  2. Fill in its AS2From and AS2To properties with your AS2 identifier and your business partnerís AS2 identifier accordingly;
  3. Set optional properties;
  4. Save the composed message.

The same approach is taken for AS3 messages for AS3 delivery.

Examples:

C#:


// create a AS2 message
TElAS2Message message = new TElAS2Message();

// set originator and recipient ids
message.AS2From = "MyAS2Id";
message.AS2To = "MyBusinessPartnerId";

// load EDI data from the file and save
// the AS2 message to another file
message.Save("mydata.edi", "mymsg.as2m");

How To articles about AS2 and AS3 messages

Discuss this help topic in SecureBlackbox Forum