
How to REST Services within a RapidClipse project
This demo project shows how to configure a RapidClipse project to use webservices.
See the following detailed information:
- 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
Get the project running
- Clone the GIT reporsitory or use the import function of RapiClipse
- File → Import → RapidClipse → Demo Projects → "rapidclipse-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
Use the RapidClipse Import:
File → Import → RapidClipse → Demo Projects → rapidclipse-demo-webservices
You can find the article in the demo project directly on GitHub.
Have fun with this example – the next demo project will be following soon.