--- title: "AS2 (Bridge data service)" slug: "as2-bridge-data-service" status: "update" updated: 2026-11-19T10:24:46Z published: 2026-11-19T10:24:46Z canonical: "docs.lobstersoftware.com/as2-bridge-data-service" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # AS2 (Bridge data service) To use the AS2 (Bridge data service), create a special **AS2** Channel on the **Lobster Data Platform** and then apply the parameters of this channel to the bridge configuration. You can then transfer files from the bridge to the **Lobster Data Platform**. The bridge automatically generates AS2 messages for this purpose. Use a Profile with an AS2 Input agent that uses the dedicated AS2 channel to receive these files. You can also transfer files from the **Lobster Data Platform** to the bridge. To achieve this, use a profile with an AS2 Response that uses the dedicated AS2 channel to send these files. ## Endpoints - **Bridge endpoint:** `https://<Ihre Bridge>/BusinessConnector/AS2Retrieve` - **Platform endpoint:** `https://<Ihr Lobster Data Platform Integration Server>/partner/AS2Retrieve` - **Platform endpoint via** DMZ**:** `https://<Ihr DMZ-Server>/partner/AS2Retrieve` ## AS2 channel configuration on the Lobster Data Platform Create a new AS2 channel on the Lobster Data Platform under **Administration** > **Partners** > **Partners/Channels** and set the following parameters. - **Select Lobster Bridge**: Select your bridge. This sets the **Partner address** and the certificates. - **Own ID**: This value must match the **Partner ID** on the bridge. - **Further AS2 settings**: Select **Send signed**, **Send encrypted**, **Receive signed**, and **Receive encrypted**. - **Partner ID**: This value must match the **Local AS2 ID** on the bridge. - **Partner address**: Enter the AS2 endpoint for the bridge: `https://<Your Bridge>/BusinessConnector/AS2Retrieve`. ![AS2-Kanal-Konfiguration auf der Lobster Data Platform](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/Unbenannt(16).png) ![AS2-Kanal-Parameter auf der Lobster Data Platform](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-H9L3LK8A.png) ## AS2 channel configuration on the bridge On the bridge, navigate to **Administration → AS2 Configuration → Partner Channel**. ![AS2-Kanal-Konfiguration auf der Bridge](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-RS8E345T.png) - **Local AS2 ID**: This value must match the **Partner ID** of the AS2 channel on the Lobster Data Platform. - **Partner ID**: This value must match the **Own ID** of the AS2 channel on the Lobster Data Platform. - **Partner address**: Enter the AS2 endpoint for the Lobster Data Platform. Depending on your infrastructure, use one of the following endpoints: - `https://<Ihr Lobster Data Platform Integration Server>/partner/AS2Retrieve` - `https://<Ihr DMZ-Server>/partner/AS2Retrieve` ## AS2 file routing on the bridge On the bridge, navigate to **Administration** > **AS2 Configuration** > **File Routing** You can control monitored folders for outbound pickup and inbound forwarding using an XML configuration file. Manage these settings using the **Smart Editor** with its guided default settings. Alternatively, you can use the **Expert Editor** and edit the XML file directly. Enter the folder paths in the **Folder** fields. For supported path formats and OS permissions, see the "Supported folder path types" section below. ![AS2-Datei-Routing auf der Bridge](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-9BVG0MB3.png) ### Outbound file settings | Parameter | Requirement | Default | Description | | --- | --- | --- | --- | | Backup folder | Yes | | Path to the backup folder. | | Backup | No | false | If you enable this setting, the system will create a backup before deleting the files. | | Folder | Yes | | Path to the folder that the system monitors for files. | | Interval | No | 5 | Scan interval (in minutes) for the folder to send files. Minimum: 1. | | MIME type | Yes | | MIME type for the content of the AS2 message. | | Retain days | No | 0 | Retention period for backup files in days. 0 means no cleanup. | | Subject | No | | Subject of the AS2 message. You can use the placeholder `@file@` for the file name. | | Recursive | No | false | If you enable this setting, the system will include subfolders in the scan. | | Extension | No | | File extension filter, for example `.pdf`. The value `empty` includes all files. This parameter requires recursive scanning. | | Exclude | No | | Name of the folder that the system excludes during recursive scanning. | ### Inbound file settings | Parameter | Requirement | Description | | --- | --- | --- | | Fallback folder | Yes | Directory path for files that do not match any rule. | | Folder | Yes | Destination directory for the relevant files. | | MIME type | No | MIME type of the files in this folder. | | Pattern | No | File name patterns for comparison. `*` = any number of characters. `?` = exactly one character. All other characters must match exactly. | | Subject | No | AS2 subject line templates for comparison. | | Path | No | Specifies how the system determines the file path. **No subject path**: The system saves files in the default folder without using the subject of the AS2 message. **Use subject as path**: The system saves files using the path specified in the subject line. | ### Supported folder path types The bridge resolves all folder paths through the host OS file API (`java.io.File`). Any path the OS can access works as a regular file system location, including **network shares** on a different server. No additional configuration or libraries are required beyond making the share accessible at the OS level. | OS | Path type | Example | | --- | --- | --- | | Windows | UNC path (no mounting needed) | `\\fileserver\share\outbound\edifact` | | Windows | Mapped network drive | `Z:\outbound\edifact` | | Windows | Local absolute path | `C:\bridge\outbound\edifact` | | Linux/macOS | CIFS/SMB mount point | `/mnt/fileserver/share/outbound/edifact` | | Linux/macOS | Local absolute path | `/opt/bridge/outbound/edifact` | | All | Relative path | `./outbound/edifact` | **NOTE:** A relative path resolves from the **Bridge working directory**, the directory from which the bridge process was started. ### OS permissions The OS user account running the bridge process must have the following permissions: | Folder type | Required permission | | --- | --- | | Outbound (scanned) folder | Read | | Inbound (delivery) folder | Write | | Backup folder | Write | **On Windows:** UNC paths use the credentials of the bridge process. Grant the bridge service account the appropriate permissions on the file server share. **On Linux:** Mount the CIFS/SMB share before starting the bridge. Use the mount point path in the bridge configuration. Minimal `/etc/fstab` entry: ```undefined //fileserver/share  /mnt/fileserver/share  cifs  credentials=/etc/bridge-smb.creds,uid=bridge,gid=bridge  0  0 ``` **NOTE:** The credentials file (e.g., `/etc/bridge-smb.creds`) is an OS-level configuration. It is not part of the bridge configuration. ### Windows network share authentication The bridge passes the path directly to the OS. The OS handles authentication. There are **no credential fields** in the bridge XML configuration. Windows authenticates using the identity of the process that opened the path. | Bridge runs as | Credentials sent to the file server | | --- | --- | | Windows service with domain account (e.g., `DOMAIN\bridge-svc`) | That domain account | | Windows service on local system | Machine account (`DOMAIN\MACHINENAME$`) | | Windows service as a local service or network service | Anonymous/limited; usually cannot access remote shares | | Interactive process (manual or dev start) | The logged-in user's credentials | ### Frequently Asked Questions (FAQ) | Question | Answer | | --- | --- | | Can I configure SMB credentials in the bridge XML configuration? | No. The bridge passes the path to the OS. The OS handles authentication. There are no credential fields in the bridge configuration. | | How does Windows know which credentials to use for a UNC path? | Windows uses the identity of the process that opened the path, the user account the bridge runs under. Configure this at the OS or Active Directory level, not in the bridge. | | What do I need to do to make a network share accessible? | Grant the bridge service account the appropriate read/write permissions on the file server share. This is a Windows or Active Directory administration task. Nothing changes in the bridge configuration. | | What if the bridge and the file server are in different domains or workgroups? | Ensure a trust relationship or explicit share permission exists for the bridge service account. If that is not possible, run the bridge under a local account that mirrors a local account on the file server with the same username and password. Windows uses this for implicit authentication. | | What credentials does the bridge use depending on how it runs? | See the "Windows network share authentication" section above. | ## Enable and disable the AS2 Connector On the bridge, navigate to **Administration** > **Application Settings** > **AS2 Configuration** Use the **Stop sending & receiving** or **Activate sending & receiving** button. ![AS2-Konnektor aktivieren oder deaktivieren](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/Unbenannt(19).png) ## When does a message appear under "Unresolved"? A message appears under [Unresolved](/v1/docs/en/cc-unresolved), when: - No profile was found for processing. - The signature check was successful. - The message was successfully decrypted. A message does not appear under **Unresolved** when: - The signature check was unsuccessful. - The message could not be decrypted. Communication protocol for secure EDI data exchange via HTTP/HTTPS. AS2 encrypts and signs messages and confirms receipt via MDN. AS2 is defined in the RFC 4130 standard. Software component that is installed on a customer's system and communicates with the Lobster Data Platform via an encrypted tunnel. The bridge allows the platform to access local databases as well as execute ETL/ELT jobs and AS2 transfers on-site. A central data record in partner management that consolidates the connection parameters for a communication partner, such as the URL, access credentials, and protocol. Changes to a channel immediately affect all profiles, ASM entries, and content inspection entries that use that channel. A profile is the central configuration unit in the Lobster Data Platform. It receives data, processes it, and forwards it. Configuration is done graphically, with no programming required. The input agent receives data in Phase 1 and starts a job for further processing. It works either as event based (passively waits for data) or scheduled (actively fetches data). The response determines how a profile sends processed data. In Phase 6, a response determines how and where the output data is sent or stored, e.g., via FTP, HTTP or e-mail. A profile can use several responses in parallel. An optional security layer between the internet and the Integration Server. The DMZ receives incoming traffic, forwards it in a controlled manner, and protects the internal system from direct external access. When the Integration Server restarts, it buffers incoming requests. XML (Extensible Markup Language) is a structured text format for storing and exchanging data. Content is enclosed within freely definable tags such as `<order>`. XML is human-readable, machine-processable, and platform-independent. In the Lobster Data Platform, you can receive, parse, and generate XML data. A **connector** is a prefabricated connection between the Lobster Data Platform and an external system or application, i.e. the ready-made "plug" to Salesforce, SAP, Microsoft Dataverse, Amazon SP API, a database, a TMS, a WMS, and so on. Lobster currently offers over 90 ready-to-use connectors to common systems and applications.