This repository has been archived by the owner on Jan 30, 2022. It is now read-only.
An example implementation of a web service that's compatible with X-Road version 6.4 and above. The service contains a single class that implements two services:
- getRandom : returns a random number between 1-100
- helloService : returns a hello message with the given name
Installation
JAR
- Download
example-adapter-0.0.4.jar
file. - Run the application:
$ java -jar example-adapter-0.0.4.jar
.
WAR
- Download
example-adapter-0.0.4.war
file. - Copy the file tomcat.home/webapps folder.
- Start/restart Tomcat.