as4

.as4AS4 Message Format

OASIS · 2018

Developer
OASIS
Category
Web Files
MIME Type
application/vnd.as4
First Released
2018
Open Format
Yes
File Signature
Not applicable, as AS4 is a message protocol encapsulated within other protocols like SOAP.
At a Glance
.as4
AS4 Message Format

AS4 is a secure and reliable standard for exchanging business messages and documents between organizations.

Reviewed on July 4, 2026
Compression
Varies (often depends on payload)
Transparency
No
Editability
Low
Best for
Secure B2B messaging

Key Features

  • Guaranteed message delivery (once and in order)
  • Strong security through encryption and digital signatures
  • Support for various transport protocols (e.g., HTTP/S)
  • Flexible payload handling for different business documents

Best For

  • Mission-critical B2B document exchange
  • Compliance-driven data transfers
  • Situations requiring high assurance of message delivery and integrity
  • Interoperable systems needing a standardized secure messaging layer

Less Ideal For

  • Simple email communication
  • Public website content
  • Real-time chat applications
  • Large file transfers not requiring guaranteed delivery

Common Use Cases

  • Securely exchanging invoices and purchase orders between trading partners
  • Transmitting regulatory compliance data between businesses and authorities
  • Facilitating secure data exchange in supply chain management
  • Exchanging electronic health records (EHR) between healthcare providers

How to Open It

  1. AS4 messages are typically processed by specialized B2B integration software or middleware.
  2. Users will interact with the results of AS4 communication via their business applications (e.g., ERP, accounting software).
  3. Directly 'opening' an AS4 file like a document is uncommon; it's handled by system integrations.
  4. Developers and integrators use AS4 toolkits or libraries within their custom applications.

What is a .as4 file?

The AS4 (Applicability Statement 4) format is a secure and reliable protocol for exchanging business documents and messages over the internet. It builds upon the foundation of ebXML Messaging Services, offering enhanced security features like encryption and digital signatures. AS4 ensures that messages are delivered precisely once, in order, and without loss, making it ideal for critical business-to-business (B2B) communication. It's designed to be flexible and interoperable, allowing different systems and organizations to exchange data confidently.

Programs That Open .as4 Files

PlatformProgram
WindowsMuleSoft Anypoint PlatformPaid
Boomi IntegrationPaid
Software AG webMethodsPaid
macOSMuleSoft Anypoint PlatformPaid
Boomi IntegrationPaid
LinuxMuleSoft Anypoint PlatformPaid
Boomi IntegrationPaid
Apache Camel (with AS4 components)Free
Web BrowserVarious Cloud Integration Platforms (iPaaS)Paid

Common Problems with .as4 Files

⚠️ Incorrectly configured security policies (encryption/signing)
Verify security settings against partner specifications and ensure correct certificates are used.
⚠️ Network connectivity issues preventing message transmission
Check firewall rules, proxy settings, and network paths between the sender and receiver endpoints.
⚠️ Payload format mismatches or validation errors
Ensure the business document payload adheres to the agreed-upon schema and structure.

Frequently Asked Questions

Is AS4 a file format or a protocol?

AS4 is primarily a messaging protocol and a set of standards for exchanging messages. While messages are transmitted in a structured format (often SOAP-based), it's more about the secure and reliable exchange mechanism than a standalone file format.

What is the difference between AS2 and AS4?

AS4 is a more modern successor to AS2, offering enhanced security features, better support for various transports, and a more standardized approach built on web services (SOAP) and WS-Security, whereas AS2 is simpler and often uses proprietary protocols.

Do I need special software to send AS4 messages?

Yes, typically specialized B2B integration software, middleware, or API gateways are required to implement and manage AS4 communication effectively.

Technical Details

AS4 messages are typically encapsulated within SOAP (Simple Object Access Protocol) messages, leveraging WS-Security standards for advanced security features. It supports various transport protocols like HTTP/S and can employ different reliability mechanisms to guarantee message delivery. The format defines how message properties, payloads, and security assertions are structured for reliable and secure transmission.

Did You Know?

AS4 was developed by the OASIS ebXML Messaging Services (ebMS) Technical Committee.
It's often used for compliance in industries like healthcare and finance due to its reliability and security guarantees.

Security Information

AS4 is designed with security as a primary concern, employing encryption and digital signatures to protect message content and verify sender authenticity. Implementations must be carefully configured to ensure secure key management and policy adherence.

Related Extensions