Skip to Content
Good to Know

What Is AS4?

AS4, or Applicability Statement 4, is a web-services-based message protocol for securely exchanging B2B messages between trading partners. Developed by OASIS for ebXML Messaging Services, AS4 supports the exchange of business payloads such as EDI and XML. For SEEBURGER customers and integration teams, AS4 is relevant for B2B/EDI communication scenarios that require interoperable, secure and reliable message exchange, including sector-specific profiles such as MaKo AS4 in the German energy market.

Key takeaways

  • AS4 is similar to AS2 by design, but it works in a web services context and supports stronger interaction patterns, delivery notifications, and recipient-side message pulling.
  • AS4 uses security, reliability, interoperability, and payload independence to support structured B2B message exchange.
  • AS4 is used in markets and sectors with service-oriented B2B messaging requirements, including retail, healthcare, utilities, Peppol, ENTSOG, EPREL, e-CODEX, JEITA, Superstream Pensions, and IATA-related scenarios.

 

 

No time to read?

Watch our video!

What is AS4 used for?

AS4 is used to exchange B2B messages securely between trading partners. The protocol can carry different types of payloads, including EDI and XML, and is designed for interoperable message exchange based on the OASIS standard for ebXML Messaging Services.

How does AS4 compare with AS2?

AS4 and AS2 are similar by design. During AS4 development, AS2 advantages were analyzed and used as inspiration. Compared with AS2, AS4 works within a web service context and provides improved interaction patterns and delivery notifications. AS4 also allows the recipient to actively pull messages because the AS4 server is permanently active.

Which features define the AS4 messaging standard?

  • Interoperability: AS4 is defined based on the OASIS standard.
  • Security: AS4 uses a subset of web services security features to support non-repudiation and data confidentiality.
  • Reliability: AS4 exchanges confirmations to support one-time delivery.
  • Payload independence: AS4 can exchange different payload types, including EDI and XML.

What does an AS4 Messaging Service Handler do?

The AS4 Messaging Service Handler, or MSH, sets up the AS4 message exchange with the remote station on the sending or receiving side. It must communicate with the remote station according to AS4 specifications and connect with the internal business application.

Which message types does AS4 use?

The ebMS 3.0 specification defines user messages and signal messages within the AS4 usage profile.

 

AS4 message typePurpose
User MessageContains the business payload exchanged between the business applications of two parties.
Signal Message: ReceiptConfirms that the receiving MSH could analyze the incoming message.
Signal Message: ErrorConfirms that the receiving MSH encountered a problem while parsing the incoming message.
Signal Message: Pull requestSupports the pull message exchange pattern.

Where is AS4 used?

AS4 is increasingly used in markets with service-oriented architecture for B2B messaging. The existing AS4 examples include retail, healthcare, utilities, and regional usage profiles in Europe, Japan, Australia, and worldwide contexts.

 

AreaExamples
EuropePeppol, e-CODEX, ENTSOG, EPREL
JapanJEITA
AustraliaSuperstream Pensions
WorldwideIATA

What advantages does AS4 provide?

The message source is clearly defined by digital signatures
Encryption supports data security
Delivery notification receipts provide proof of timely delivery
AS4 supports large file compression and file transfer scenarios

 

 

White Paper

Accelerate and Automate Business Driven Innovation with Integration

Read now

Frequently asked questions about AS4

Author:

Alexander Schmidt
Alexander Schmidt

Product Manager Utilities

SEEBURGER

Do you work in a sector with its own specific needs?

Take a look at the SEEBURGER range of industry-specific solutions