What an AAS server does#
Part 2 splits server functionality into roles. A Repository (/shells, /submodels) stores and serves AAS, Submodels and ConceptDescriptions. A Registry (/shell-descriptors) registers and returns descriptors with access information, and Discovery (/lookup/shells) finds AAS by asset ID. The AASX File Server (/packages) exchanges package files, and Part 2 states that these packages are managed independently of the AAS and Submodels on the server.
For local testing a Repository is often enough. GET /description lists the profiles a server supports. Path and encoding rules are on the AAS REST API page.
The three servers at a glance#
Values come from each repository's README and documentation and from Docker Hub tags. For BaSyx, the Java V2 SDK README directs users to BaSyx Go for ready-to-run servers, so the table describes Go.
| Item | Eclipse BaSyx (Go) | FA³ST Service | Eclipse AASX Server |
|---|---|---|---|
| Repository | github.com/eclipse-basyx/basyx-go-components | github.com/FraunhoferIOSB/FAAAST-Service | github.com/eclipse-aaspe/server |
| License, language | MIT, Go | Apache-2.0, Java | Apache-2.0, C# (.NET 9) |
| Version checked | 1.1.2 (2026-10-16) | 1.3.0 (2025-10-28) | 0.3.1.812-aasv3-alpha-latest (2026-10-14, pre-release) |
| Part 2 version (README) | v3.2 | 1.3.0: v3.0.1; main (1.4.0-SNAPSHOT): v3.1.2 | V3 (no minor version stated) |
| Default base URL | http://localhost:8090 (wiki example, container 5004) | https://localhost:443/api/v3.0 | http://localhost:5001 |
| Storage | PostgreSQL 16 or newer (required) | In-memory by default; file or MongoDB optional | SQLite (--with-db) |
| Loading AASX | Startup: GENERAL_AAS_PRECONFIG_PATHS; runtime: POST /upload | Startup: model.aasx; runtime: POST /import | Startup: data folder; AASX File Server API |
| Notable features | Registry and Discovery sync, OIDC and ABAC, Helm chart | Asset connections (OPC UA, MQTT, HTTP), OPC UA endpoint | Blazor web UI, query API |
Eclipse BaSyx (Go) with Docker Compose#
BaSyx Go uses PostgreSQL, so three containers start in order. Once PostgreSQL is healthy, the Configuration Service creates the schema and exits with code 0; then the AAS Environment starts. The AAS Environment bundles the three Repositories, the Registry and Discovery behind one URL.
The file below is the BaSyx wiki example with the tag pinned to 1.1.2 and a startup import folder (./aas) added. The Configuration Service and the other services use the same tag. Some repository examples use SNAPSHOT tags; the wiki recommends latest or a pinned release instead.
- /health returns 503 until the startup import is done; send requests after it returns 200. Swagger UI is at /swagger.
- /upload is a BaSyx endpoint, not part of Part 2. Use application/aasx+xml if the package holds XML data, application/aasx+json for JSON.
- For a setup with the web UI, use examples/BaSyxMinimalExample in the repository (ports 3000 and 8082). The Java V2 image eclipsebasyx/aas-environment (port 8081) has no latest tag, so name one such as 2.0.0-milestone-16.
Copy the code, or select it to copy manually.
services:
postgres:
image: postgres:18
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: admin123
POSTGRES_DB: basyxTestDB
command: ["postgres", "-c", "listen_addresses=*"]
healthcheck:
test: ["CMD-SHELL", "pg_isready -U admin -d basyxTestDB"]
interval: 10s
timeout: 5s
retries: 5
volumes:
- aas_environment_postgres:/var/lib/postgresql
basyx_configuration:
image: eclipsebasyx/basyxconfigurationservice-go:1.1.2
environment:
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
POSTGRES_USER: admin
POSTGRES_PASSWORD: admin123
POSTGRES_DBNAME: basyxTestDB
depends_on:
postgres:
condition: service_healthy
aas_environment:
image: eclipsebasyx/aasenvironment-go:1.1.2
environment:
SERVER_PORT: 5004
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
POSTGRES_USER: admin
POSTGRES_PASSWORD: admin123
POSTGRES_DBNAME: basyxTestDB
GENERAL_AASREGISTRYINTEGRATION: "true"
GENERAL_SUBMODELREGISTRYINTEGRATION: "true"
GENERAL_EXTERNALURL: http://localhost:8090
GENERAL_AAS_PRECONFIG_PATHS: /data/aas # added: import ./aas (.aasx/.json/.xml) at startup
ABAC_ENABLED: "false" # no auth: local testing only
volumes:
- ./aas:/data/aas:ro
ports:
- "8090:5004"
depends_on:
basyx_configuration:
condition: service_completed_successfully
volumes:
aas_environment_postgres:
# docker compose up -d
# curl -i http://localhost:8090/health -> 200 {"status":"UP"}
# curl -i -X POST http://localhost:8090/upload -F 'file=@my.aasx;type=application/aasx+xml'FA³ST Service from a single model file#
The FA³ST Service README describes it as a reactive (Type 2) AAS implementation. At startup it looks for config.json and a model.* file in its working directory, so mounting the AASX at /app/model.aasx is enough. Storage is in-memory by default, so changes made through the API are lost when the service stops, including a container restart.
The HTTP endpoint defaults to HTTPS on port 443 with a self-signed certificate, and every path is prefixed with /api/v3.0. curl therefore needs -k.
- Model files that do not conform to V3 or contain duplicate identifiers are not loaded. --no-validation turns validation off, but the documentation warns that duplicate identifiers cause problems at runtime.
- At runtime, the FA³ST-specific POST /import loads further files; for AASX the Content-Type is application/asset-administration-shell-package+xml (1.3.0 documentation).
- The README states that no security mechanisms are implemented. Use it only on trusted networks.
docker run -d --name faaast -p 8443:443 \
-v "$PWD/model.aasx:/app/model.aasx" \
fraunhoferiosb/faaast-service:1.3.0
# HTTPS with a self-signed certificate, all paths under /api/v3.0
curl -k https://localhost:8443/api/v3.0/shellsEclipse AASX Server: serving the AASX files in a folder#
AASX Server (its README now calls it Eclipse AASPE Server) shares part of its code with AASX Package Explorer. It provides the Repositories, the AASX File Server, the Serialization API and a Blazor web UI, and reads the .aasx files in its data folder at startup.
The README says there is no latest tag and a tag must always be given. Docker Hub still holds an old latest from May 2023, so pulling without a tag gets an old image rather than the current V3 server. As of November 2026, main and 0.3.1.812-aasv3-alpha-latest are the same image.
- The image starts through startForDemo.sh with the fixed arguments --no-security --data-path ./aasxs --external-blazor http://localhost:5001, so options appended to docker run, such as --with-db in the README example, do not reach the server, and it runs in memory without the database. The README says that with V3 the database mode (--with-db) is the intended mode and the in-memory mode is no longer actively maintained or tested. To change the options, set --entrypoint dotnet and pass AasxServerBlazor.dll followed by your options.
- Without a volume, the server reads the sample Example_AAS_ServoDCMotor_21.aasx shipped in the image.
- --no-security disables authentication; the README limits it to local tests and demos.
mkdir -p aasxs && cp my.aasx aasxs/
docker run -d --name aasx-server -p 5001:5001 \
-v "$PWD/aasxs:/AasxServerBlazor/aasxs" \
adminshellio/aasx-server-blazor-for-demo:0.3.1.812-aasv3-alpha-latest
curl http://localhost:5001/shells # web UI: http://localhost:5001, Swagger: /swaggerFirst requests and checking the import#
Start with GET /shells and GET /submodels and check that the number of AAS and Submodels and their ids match the package. Responses carry a result array and paging_metadata. To fetch a single item, put its id into the path as base64url without padding.
Check template Submodels with a semanticId search. Finally, export with GET /serialization, selecting aasIds and submodelIds, and compare with the original to find anything the server dropped or changed. Parameter encoding and response shapes such as /$value are on the AAS REST API page.
BASE=http://localhost:8090 # FA³ST: https://localhost:8443/api/v3.0 (add curl -k)
curl "$BASE/description" # supported service specifications and profiles
curl "$BASE/shells?limit=20" # result[] + paging_metadata
curl "$BASE/submodels?limit=20"
# AAS id -> base64url (UTF-8, no '=' padding; GNU coreutils base64)
ID=$(printf '%s' 'https://example.com/ids/aas/1' | base64 -w0 | tr '+/' '-_' | tr -d '=')
echo "$ID" # aHR0cHM6Ly9leGFtcGxlLmNvbS9pZHMvYWFzLzE
curl "$BASE/shells/$ID"
curl "$BASE/shells/$ID/submodel-refs"Common pitfalls#
| Symptom | Cause | Fix |
|---|---|---|
| /shells returns 404 | Base paths differ; FA³ST adds /api/v3.0 | Part 2 says clients must not assume a prefix. Check the base URL in Swagger UI or the docs |
| curl certificate error | FA³ST defaults to HTTPS with a self-signed certificate | Use curl -k for tests. Part 2 requires HTTPS (443), so use a proper certificate in production |
| CORS error in a browser app | Requests from another origin are not allowed | BaSyx Go CORS_ALLOWEDORIGINS (empty by default), BaSyx Java basyx.cors.allowed-origins, FA³ST corsEnabled (default false) |
| 404 or 400 when fetching by id | Raw id or standard base64 (+, /, =) used | Encode the UTF-8 bytes as base64url without padding; URL-encode idShortPaths |
| AASX does not load | Not v3, duplicate identifiers, size limits | Produce v3 and run a checker. BaSyx Java multipart defaults 1 MB per file, 10 MB per request; BaSyx Go 128 MiB |
| Old API or changed behavior | Old images (AASX Server latest, eclipsebasyx/aas-server from BaSyx Java V1) or moving tags. On 2026-11-12 FA³ST latest was the same image as 1.4.0-SNAPSHOT (default prefix /api/v3.1) | Pin version tags such as 1.1.2 or 1.3.0, or digests. AASX Server's old V2 REST (port 51310) is no longer the primary API |
| Anyone can write | The examples run without security (ABAC_ENABLED=false, --no-security) | Keep them off untrusted networks and enable security before production |
Key points#
- Base URLs differ: :8090 in the BaSyx Go wiki example, HTTPS plus /api/v3.0 for FA³ST, :5001 for AASX Server.
- Pin version tags instead of latest or SNAPSHOT; some images still carry an outdated latest tag.
- After loading, verify with GET /shells, a lookup by base64url id and a /serialization export.
Questions and answers#
Which of the three servers should I pick?
To test Registry, Discovery and access control together on PostgreSQL, use BaSyx Go. To start quickly from one model file and attach asset connections such as OPC UA or MQTT, use FA³ST Service. To drop AASX files into a folder and browse them in a web UI, use AASX Server. Confirm the profiles you need with /description and real requests.
If I upload to the AASX File Server (/packages), does the content appear under /shells?
The specification does not guarantee it. Part 2 states that AASX packages are managed independently of the AAS and Submodels on the server. Endpoints that load content into the Repository are server-specific, such as /upload in BaSyx and /import in FA³ST, so check GET /shells after uploading.
Can I load v3.0 or v2 files?
BaSyx Go adapts a lower v3 XML namespace such as https://admin-shell.io/aas/3/0 to the current one and logs a warning. v2 is different: the FA³ST documentation states that model files not conforming to V3 lead to an error. Convert v2 files to v3 and run a checker before loading them.
