AS4

Frends.As4.SendMessage / 1.0.0

Summary

Delivers an EDI payload to a partner's AS4 endpoint under a named agreement, signed and encrypted, and interprets the receipt the partner returns. The receipt may also arrive later, which the result distinguishes.

Typical use — the outbound half of an AS4 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
SenderAs4Id String MyCompany

Id of the company that will send the message.

ReceiverAs4Id String YourCompany

Id of the company that will receive the message.

Subject String Subject of the message

Optional subject that will be added as an AS4 message property.

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 AS4 message properties to send with the message.

An unhandled error has occurred. Reload 🗙