AS4 messages

An ebMS message is a SOAP message that contains SOAP header(s) qualified with the ebMS namespace, and that conforms to the AS4 specification.

Message structure

There are two logical sections within the ebMS message package:

  • The first section is the ebMS Header (the eb:Messaging SOAP header block), itself contained in the SOAP Header.
  • The second section is the ebMS Payload, which itself comprises two sections:
    • The SOAP Body element within the SOAP Envelope and in case of MIME packaging,
    • Zero or more additional MIME parts containing additional application-level payloads. The SOAP Body and MIME parts are also referred to as ebMS Payload Containers. The SOAP Body is the only payload container that requires XML-structured content

When you trade messages with AS4 you exchange two categories of messages:

  • User messages - Usually containing a payload
  • Signal messages – Containing requests, receipts and error messages

The following figure describes the general structure and composition of ebMS User Message:

Sstructure of an AS4 user message.

The following figure describes the general structure and composition of ebMS Signal Message:

Structure of an AS4 signal message.

Related topics

Related Links