1. Right click on the project, and select “OpenLegacy -> Generate Service”
  2. A wizard containing all the API classes is shown. Select either specific fields, part or entire entities as input and/or output to the service.
  3. Provide a meaningful name, to the service, and decide if you wish to create a pull
  4. Click OK. A set of generated code will be created under: [default package]/services
  5. The code contains a service “[serviceName]Service.java” interface and a service implementation “[serviceName]ServiceImpl.java”. You may need to adapt the API usage in “[serviceName]ServiceImpl.java” to implement the service data population and pool management.Run the launcher “run-application.launch” to start the application.


The generated services WSDL are available at:

http://localhost:8080/[ project name]/services

  1. The service can be tested via the JUnit code generate under src/test/java, [service name]Test.java, and running this test as Unit test via eclipse. The test prints the service result in a structured XML.
  2. Alternatively, a webservices testing tool like SoapUI can be used as well.


If you have no prior experience with Spring MVC (for web project), AngularJS (for mobile projects), or Apache CXF(for web services), we recommend further reading their documentation.