Frends.As4.ValidateAndParsePayload / 1.0.0
Summary
Checks an inbound AS4 message's signature and encryption, extracts the payloads it carries and builds the receipt to return. AS4 allows several payloads in one message, so the result is a collection.
Typical use — behind a Frends API endpoint receiving partner traffic over AS4
Essential parameters.
| Name | Type | Default | Example | Description |
|---|---|---|---|---|
| Headers | Dictionary<String, String> |
– |
{
"Content-Type": "multipart/related; boundary=\"MIME_boundary\"; type=\"application/soap+xml\"",
"SOAPAction": "\"\"",
"Content-Length": "12345"
}
|
HTTP headers from the AS4 request containing SOAPAction, Content-Type and other AS4/ebMS metadata. |
| Body | Byte[] |
– |
Encoding.UTF8.GetBytes("--MIME_boundary...")
|
Raw body content as byte array containing the AS4 (ebMS) message payload (signed/encrypted SOAP with attachments). |