EMSWe RIM Sender Integration – Access Point Setup Guide

Sender-side overview for integrating via AS4 / RIM

Reference document
This document is a concise technical overview for senders.
For authoritative requirements, detailed field definitions, validation rules, certificate policies, and legal references, always refer to:
Finland EMSWe Domibus Sender Integration Guide.pdf

Purpose

This document provides quick, practical guidance for senders integrating with a Member State backend through the Reporting Interface Module (RIM) using AS4 (Domibus) within the European Maritime Single Window environment (EMSWe).

It focuses on:

This guidance applies to both:

as defined by EMSWe and the RIM architecture.

Architecture Overview (Four-Corner Model)

flowchart LR
        C1["Sender Backend (C1)"]
        C2["Sender AS4 Access Point – Domibus (C2)"]
        C3["Member State RIM – Domibus (C3)"]
        C4["Member State MNSW Backend (C4)"]

        C1 -->|ASiC-E payload| C2
        C2 -->|AS4 UserMessage| C3
        C3 -->|Validated payload| C4
    
Corner Role Responsibility
C1 Sender backend Generates EMSWe formalities and signs ASiC-E
C2 Sender Access Point AS4 messaging, WS-Security, TLS
C3 Member State RIM Authentication, validation, routing
C4 Member State backend Business processing

The sender fully controls C1 and C2 only. All communication beyond C2 takes place via secure AS4 exchange.

AS4 Access Point Requirement (Key Rule)

There is NO shared or Member State–provided AS4 Access Point.

The Domibus AS4 Access Point software is publicly available and can be downloaded from the EU DIGIT eDelivery website. Each sender must install and operate its own Domibus instance and configure communication between:

This applies regardless of whether the sender submits messages directly or via a service provider.

Role of Data Service Providers (DSP)

A Data Service Provider (DSP) can be characterized as a technical service that:

Important clarifications:

From the RIM and Member State perspective:

Message Preparation (Sender Backend – C1)

Before transmission, the sender backend must create an ASiC-E container that includes:

Signature requirements:

The ASiC-E container is handed over to the Access Point unchanged.

AS4 Message Mapping (Access Point – C2)

The Access Point (Domibus) wraps the ASiC-E container into an AS4 UserMessage.

Mandatory header metadata includes:

Field Description
Sender Sender Access Point identifier
Receiver Member State RIM identifier
Authorization.Identifier Sender EORI
Authorization.Type DECL or DSP
Authorization.SubDomain Country code
originalSender Business identifier of C1
finalRecipient Member State MNSW
Service rim-messaging-service
Action emswe-formality-request
MessageId UUID
Timestamp ISO 8601

Critical requirement: The EORI value must exactly match the value registered in URAM, otherwise the message is rejected.

Certificates and Security

Purpose Used by Certificate
ASiC-E signing C1 eIDAS QES / AdES
AS4 signing & encryption C2 X.509 (Domibus keystore)
TLS transport C2 ↔ C3 X.509 TLS
Trust validation All CA certificates

Minimum cryptographic requirements:

Registration and Authentication (URAM)

Before sending any messages:

The RIM validates every incoming AS4 message against URAM.

Access Point Configuration and Changes

A bilateral AS4 agreement between the sender and the Member State defines:

Any change (certificate, endpoint, key) requires: