This demo project shows how to configure a RapidClipse-X project to use webservices.
- Send a simple string to the application itself by a get request
- Send the same string but with authentication
- Send the ID of a customer and get the whole entity
- Clone the GIT reporsitory or use the import function of RapiClipse
- File -> Import -> RapidClipse -> Demo Projects -> "rapidclipse-x-demo-webservices"
- Maybe do some Maven updates to remove project errors
- The project needs the H2Northwind database. The entities in the project should be syncronized with the database.
- Add the following line of code to your tomcat-user.xml in your workspace/server/tomcat...
<user username="admin" password="admin" roles="restconsumer"/>)
- Start the project