Publishing SOAP services on X-Road with WSDL: when a provider needs it
Publishing a SOAP service on X-Road means registering its WSDL-based service description on your provider Security Server, setting the service parameters and granting access to the consumer members allowed to call it. The Security Server then receives requests from consumer Security Servers and passes them to your existing SOAP endpoint. Teams choose this path when a SOAP service already serves consumer organizations, when the contract exists as a WSDL, and when rewriting that service in another interface would delay consumers who already depend on it. Many providers in public administration and regulated sectors run SOAP services that cannot be retired on short notice, so exposing them through X-Road lets consumers join the exchange without a parallel build.
The provider application keeps its existing SOAP endpoint, its business logic and its own user authentication. The Security Server sits in front of it, so the application does not implement X-Road message handling or hold the X-Road signing keys. The design decisions sit at the boundary: which WSDL version is the contract, what endpoint address the Security Server will forward to, and which SOAP headers consumers must send so each exchange can be matched to the right service. Test those with one consumer system before any wider rollout, because a mismatch there often appears first as rejected calls from consumers.
Exact steps, screen names and field names change between releases, so confirm each one in the Security Server user guide for the release you run. The current X-Road release is 7.8.3, and 7.7.4 and 7.6.5 are also listed as supported, so a site on an older line should read the guide for its own version. Before the change window, collect the WSDL file and its version, the endpoint address, the consumer members who will receive access and the timeout the provider expects, since these inputs drive most rework. Run the first publication on a test environment wherever your setup allows it.
How a SOAP request travels from consumer to provider through two Security Servers
The request starts in the consumer's information system, which sends a SOAP call to its own Security Server over the internal network on 8080 or 8443. The consumer Security Server then forwards the message across the organizational trust boundary to the provider Security Server on TCP 5500, the message exchange port reachable from external networks. The provider Security Server holds the WSDL service description for the called service and passes the request to the provider information system over the internal network. Before testing, confirm that the service description is registered and refreshed on the provider Security Server, and that each internal leg is reachable only from the networks that should use it.
Security Servers carry the SOAP request across the organizational boundary.
Which WSDL and service settings to decide before publishing
This table compares the five decisions to settle before a SOAP service goes live on X-Road: the WSDL, service timeouts, consumer access, description refresh, and the internal protocol. Read each row as a question to answer with the provider and the consumers before the service is registered. The main takeaway is that the WSDL and access decisions are harder to change later, so settle them first and confirm the matching steps in the user guide.
| Decision | When it fits | What to confirm in the user guide |
|---|---|---|
| WSDL quality | Fits when the provider supplies a complete WSDL with named operations, message types and bindings that match the live service. | Confirm the WSDL validates, operation names match the service, and which operations will be published. |
| Service timeouts | Fits when consumers run long operations or the back end is slow, so the wait consumers tolerate must match the provider's response time. | Confirm which timeout parameters the Security Server exposes for the service and agree the values with consumers before go-live. |
| Consumer clients and access | Fits when only named member clients may call the service, so each client needs an explicit access right before its calls succeed. | Confirm how access rights are granted to individual clients or local groups and who approves each grant. |
| Refresh after WSDL changes | Fits when the provider expects to revise the WSDL, so the change process must update the Security Server description without breaking consumers. | Confirm how a service description is refreshed or reloaded, and whether a change requires consumers to retest their calls. |
| Internal leg protocol | HTTP fits only on an isolated network segment where the exposure has been assessed. HTTPS fits when the information system is reachable by other hosts on the internal network. | Confirm the protocol the service endpoint uses, how its certificates are handled, and which steps in the TLS guide apply. |
Steps to publish a WSDL SOAP service on the provider Security Server
This sequence takes a WSDL-based SOAP service from the provider's system to a working exchange through X-Road. Each step closes with a check you can run, so the provider and consumer teams can confirm progress before moving on. The result is a published service with the agreed timeouts, the right clients granted access, and a logged test exchange.
Confirm the provider Security Server is ready
The provider's Security Server administrator confirms that the server is registered in the X-Road instance and that it runs a supported release. The supported versions listed in the X-Road releases are 7.8.3, 7.7.4 and 7.6.5, and the current release is 7.8.3. Check the version on the server and the member status in the admin UI on the internal network, which is reached on TCP 4000 from internal networks. The step is done when the server shows as registered and its version matches one of those supported releases.
Obtain and validate the WSDL file
Get the WSDL from the provider system team and confirm it describes the service that the system actually exposes. Check that the file parses as well-formed XML, that its target namespace and operation names match what the provider system implements, and that the SOAP binding points to the address the information system listens on. Record the file's checksum and version so later changes can be compared. The step is done when a validator accepts the file and a sample call to the provider system reproduces each operation named in the WSDL.
Add the service description in the admin UI
A user with the Service Administrator role opens the admin UI on the internal network and adds the WSDL as a service description under the provider's subsystem. Confirm the menu path in your installed release, since labels can change between 7.x versions. Upload the file, select the SOAP services it contains, and save. The step is done when each operation appears as a service under that description in the service list, with no validation errors shown in the admin UI.
Set service parameters and timeouts
The Service Administrator opens the service's parameters in the admin UI and sets the timeout values agreed with the provider system owner, so that X-Road does not give up before the backend answers and does not hold connections longer than the provider allows. Ask the provider system team for its response-time limits and the longest legitimate call, then align the settings with them. Record the chosen values and the reason for each in the change record. The step is done when a test call that runs close to the limit returns the expected outcome, and the values are visible in the service parameters view.
Grant access to consumer clients
The Service Administrator grants access rights for the new service to each consumer client subsystem that the data sharing agreement covers. Access is granted per service and per client, so check each consumer by name and avoid granting access to the whole provider when one service is intended. Use local groups if many clients need the same rights, and confirm the global group setup with the X-Road operator where applicable. The step is done when the access rights list shows each approved client against this service and no unapproved client appears.
Send a test request with SOAP headers
From a consumer information system, send a SOAP request through the consumer's own Security Server, using a request envelope that includes the X-Road SOAP header elements. Those headers identify the client and the service being called, carry a unique message id and a protocol version, and may include a user id. Confirm the exact required header set against the X-Road documentation for your release before testing. The step is done when the consumer receives a SOAP response from the provider system with no X-Road fault.
Confirm the exchange in the message log
Open the message log on both Security Servers and find the request by its message id. The consumer side should show the outgoing request and the provider side the incoming request, with the same id and the service named in the header. Check that the timestamps line up, and that the logging mode configured on each Security Server matches what your evidence policy requires. The step is done when both logs show the exchange with matching identifiers and the consumer receives the expected SOAP response.
How SOAP services on X-Road get the headers consumers must send
Consumers must build the X-Road SOAP headers correctly because the Security Server routes each message from header information alone: the headers identify the client, the provider and the service being called. A consumer whose headers name the wrong member, the wrong subsystem or a service the provider has not published will not reach the provider's system, however well formed the SOAP body is. Before you hand the WSDL to consumers, confirm the exact element names, which fields are required and which protocol version value applies in the Security Server user guide for the release you run. The supported 7.x releases are 7.8.3, 7.7.4 and 7.6.5, and provider and consumer teams should check against the same release. Do not copy header examples from older blog posts or from another X-Road version.
When headers are missing or wrong, the request fails at the consumer's Security Server before it reaches your information system, and the consumer receives an error response instead of a business result. The fault text is the first clue, but in practice the consumer's header construction and the provider's published service description usually have to be compared side by side. Consumer developers own the fix in their client code, because they assemble the headers. Provider teams own the causes on their side: a service missing from the published description, an access right that was never granted, or a description that was not refreshed after a change. Agree that split in writing before go-live so neither team is left guessing who investigates.
Give consumers a sample test message they can send through their own Security Server to your service before any production call. The provider should supply a complete example request with the header block filled in for a named test client, service and provider, along with a note that marks which values are placeholders and which must match the consumer's own registration. Ask the consumer to confirm that its Security Server returns the expected response from the test provider, and keep the sample under version control with the WSDL so both change together. Label the sample as illustrative until your team has run it in your own environment, since identifiers, namespaces and version values depend on the release in use.
Security checks before a SOAP service goes live on X-Road
Before a SOAP service is announced to consumers, the provider should check each layer that can expose it: who can call it, how traffic reaches the provider application, what the WSDL exposes, who administers the Security Server, and what gets logged. The cards below take these checks in turn, with the hardening baseline applied to the Security Server host.
Restrict access per service and client
Access rights decide which consumer clients may call the SOAP service, so check them before the first consumer goes live. Grant each client access to only the service it has an agreement for, and confirm the grant on the provider's Security Server. Use local groups where several clients share the same services. Record who approved each grant, and re-check the list whenever a consumer changes its member or its agreement.
Protect the internal leg
Messages reach the provider application from the Security Server over the internal network, on the information system access ports 8080 or 8443. Restrict those ports so only the Security Server host can reach the application, and check that no other internal system can call the SOAP endpoint directly. Decide whether this leg uses TLS and client certificate authentication before go-live, and confirm the choice against the TLS guidance for information systems.
Validate WSDL and limit operations
The WSDL is the contract consumers build against, so every operation it lists is one a consumer can try to call, subject to access rights. Review each operation and remove those the consumer does not need, including test or administrative methods left from development. Check that the WSDL matches what the provider application actually implements, because a mismatch shows up as failed calls in production. Re-run this review after every change to the description.
Separate Security Server admin roles
The Security Server defines five user roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Assign each person one role that matches their task, so that publishing a service and approving access sit with different people where your policy calls for it. Admin users sign in through PAM, and SSSD can map LDAP groups to these roles, so membership in your directory controls access to the admin UI. Confirm the group mapping in the user guide before go-live.
Security Server user guideApply the hardening baseline
The hardening guidelines recommend account lockout after repeated failed logins, a long minimum password, key-only SSH and the allowed-hostnames setting, which guards against host header injection. Apply each item to the Security Server host and its admin accounts, then test a failed login and an SSH login with a password to confirm they are refused. Record the result in your change ticket so an auditor can see when the baseline was applied.
- Account lockout period
- 15 minutes
- Minimum password length
- 16 characters
Keep message logs for review
Message logs are the record you will need if a consumer disputes a call or a fault needs tracing. Confirm logging is enabled on the provider's Security Server, decide how long logs are kept under your retention policy, and test a sample exchange to see whether it appears where your team expects it. Restrict who can read logs, since logged exchanges may contain personal data depending on the service.
What buyers ask before publishing SOAP services on X-Road
What makes a SOAP service on X-Road cost more or less?
The main cost drivers are the number of operations in the WSDL, the quality of the WSDL itself, the number of consumers that need access, and how much testing and change control the work requires. A WSDL with many operations, imports that do not resolve, or inconsistent namespaces takes longer to review and publish, and each consumer adds onboarding and test effort. The first publication is one-time work, while each new operation, WSDL revision or consumer recurs as change work. In a partner engagement you pay for analysis, Security Server configuration, testing and documentation. An internal team pays in staff time and test infrastructure. Ask any partner to price these components separately, so you can see which items grow with each new service.
How long does it take to add a SOAP service to X-Road?
The duration depends on the state of the WSDL, the number of consumers, and how many change windows and test environments you can use, so no reliable figure applies across services. A clean WSDL with one operation and one consumer moves faster than a large contract with many operations that needs review by several owners. Delays usually come from waiting: for description fixes, for consumers to build test clients, and for approved change windows on production Security Servers. Ask a partner to state the timeline in the written scope, with the assumptions behind it, such as how many rounds of WSDL correction are included and who signs off each stage. Your own team should also plan the calendar around your change board.
What does our team need to provide for a SOAP service?
Your team provides administrative access to the Security Server where the service will be published. Confirm which Security Server user role covers adding and refreshing services before access is granted, since the server defines several roles with different duties. You also provide the WSDL file and any schema files it depends on, a named owner of the backend system who can answer questions about each operation, and a test consumer that can send requests through a second Security Server. Plan change windows for the production steps and agree in advance who approves them. Finally, provide a test environment that mirrors production as closely as you can, so that the first live traffic is not the first test.
Can our internal team publish SOAP services without an implementation partner?
Yes, an internal team can publish SOAP services alone if it has Security Server administration skills and a test environment where consumers can send requests before production. The team needs to handle WSDL review, service configuration, access rights, test evidence and the change process itself. A partner adds value when the team lacks that experience, has many services to publish at once, or needs an independent check before a change window. Before deciding, confirm who owns Security Server administration, whether test Security Servers and a test consumer exist, how changes are approved, and who refreshes descriptions after each WSDL revision. If one of these is missing, the first service is often easier to get right with outside help.
Should we wait for X-Road 8 before exposing SOAP services?
No, you do not need to wait. The current release is 7.8.3, and 7.8.3, 7.7.4 and 7.6.5 are the supported versions. X-Road 7.8.0 is the last new-feature release of the 7 line. NIIS intends to keep maintaining 7 with bug fixes and security patches beyond 2026, but the length of that period has not been decided. X-Road 8 is available as 8.0.0 Beta 2 for testing, with the production release scheduled for December 2026. Services you publish on 7.x now will still need an upgrade plan for 8, which is a separate project. Confirm what carries over and the 7.x maintenance terms with NIIS before setting a long-term plan. The X-Road releases page lists the current versions.
What should a partner include in a quote for SOAP service work?
A quote should name the services, the operations in each one, and the Security Servers and consumers involved. Ask for a written scope that lists deliverables, including WSDL review notes, the configured service descriptions and access rights, and a runbook for refreshing descriptions after changes. Ask for test evidence: the requests sent, the responses checked, and the timeouts tested for slow operations. Ask whether a retest after fixes is included, how many fix rounds are covered, and what happens if the WSDL changes during the work. Also ask which items are client responsibilities, such as access and change windows, and which changes would trigger a new quote. DeployOpen works from a fixed scope agreed in writing before work starts, so compare partners only on identical scopes.
How should consumers call a SOAP service published on X-Road?
Consumers send SOAP messages from their information system to their own Security Server, including the X-Road SOAP headers that identify the client and the requested service. Their developers need the service identifier and the list of operations available to them, so give them both in writing with the service description. Confirm the complete header requirements in the X-Road SOAP documentation for your version before building the client. Consumers should also allow client-side timeouts that cover the provider's service timeout, so that a slow operation fails in a traceable way on both sides. Test each operation from a consumer Security Server before announcing it to other teams.
What breaks after a WSDL change on an X-Road SOAP service?
Most breakage comes from a mismatch between the published description and what consumers send. After a WSDL change, a Security Server that still holds the old description can cause requests to fail in ways that confuse consumers, and new operations stay invisible until their access rights are set. Check that the description is refreshed on every Security Server that publishes the service, that access rights cover the new operations, and that consumers regenerate their client code. Timeouts are the second common issue. A new operation that runs longer than the configured service timeout fails on the provider side, and the consumer sees only a timeout, which hides the underlying error. Test each changed operation through the production path in an agreed window, and keep the previous WSDL so you can roll back.
How DeployOpen scopes and delivers SOAP service publishing on X-Road
DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, and SOAP publishing on X-Road follows the same pattern. The work starts with a written scope that names the WSDL services, provider systems and consumer systems involved, then moves through build, testing and handover. Most engagements are fixed-scope, and ongoing support is available as a retainer.
How we scope
- The written scope lists each WSDL file, the provider system and the consumer systems that call it.
- It names the X-Road member, subsystem and service code each SOAP service is published under.
- It records the Security Server or servers that will host the services and the platform they run on.
How we build
- Install and register the Security Server, with PostgreSQL, network ports and any PKCS#11 hardware tokens agreed in advance.
- Add each WSDL-based service, then set the service parameters, such as timeouts, that the scope defines.
- Test a consumer call that sends the required X-Road SOAP headers and check the response end to end.
How we hand over
- Written documentation of the published services, WSDL sources, client header requirements and parameter values.
- A runbook for refreshing service descriptions after each WSDL change, which your team can repeat.
- Walkthrough with the operators who will own the Security Server and the published services.
How we support
- Retainer options for upgrades, patches and changes to WSDL files and service parameters after handover.
- Support terms are set out in the written agreement, so confirm response expectations before work starts.
- Version changes, such as moving to a newer supported X-Road 7 release, are scoped separately.

