AS2

Frends.As2.SendMessage / 1.1.0

Summary

Delivers an EDI payload to a partner's AS2 endpoint over HTTP, signing and encrypting it with the certificate pair you have exchanged, and interprets the MDN the partner returns as the receipt for the exchange. The MDN can also come back later out of band, which the result distinguishes.

Typical use — the outbound half of an AS2 trading relationship, paired with the validate Task on the inbound side

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0

Essential parameters.

Name Type Default Example Description
SenderAs2Id String MyCompany

Id of the company that will send the message.

ReceiverAs2Id String YourCompany

Id of the company that will receive the message.

Subject String Subject of the message

Subject of the AS2 message.

MessageFilePath String C:\Document\message.txt

Path to the file that will be sent in the message.

AdditionalHeaders Header[] [{ "Name": "X-ApiKey", "Value": "my-api-key" }]

Optional additional HTTP headers to send with the AS2 message.

An unhandled error has occurred. Reload 🗙