Publishing a service
You publish services and give access in the X-Road admin UI of your security server.
Before you start
Section titled “Before you start”Your service must have a public address. It must listen on TCP port 80 or 443.
Private addresses and other ports do not work.
Open the admin UI
Section titled “Open the admin UI”- Open your server in securityserver.io.
- Select Open admin UI.
- Log in as
xroad-adminwith the admin password from the server page.
Add a service description
Section titled “Add a service description”- Select Clients, then your subsystem.
- Select the Services tab.
- Add the description:
- REST or OpenAPI 3: select Add REST. Select the URL type. Enter the URL and a service code.
- SOAP: select Add WSDL. Enter the URL of the WSDL.
- Turn on the switch next to the new description. A new description is off.
Set the address and timeout
Section titled “Set the address and timeout”- Open the service.
- Enter the Service URL of your backend.
- Enter the Timeout in seconds.
- Select Verify TLS certificate only if your backend uses HTTPS and you added its certificate to the security server.
- Select Save.
Give access
Section titled “Give access”- Open the service.
- Select the Service Clients tab, then Add Subjects.
- Find the organisation. You can pick a subsystem, a member or a global group.
- Select it, then Add Selected.
Remove access
Section titled “Remove access”- Open the service.
- Select the Service Clients tab.
- Select Remove next to the organisation.
When you delete a service description, its access rights are removed too.