Java Reference
In-Depth Information
Testing our RESTful web service
Once we deploy our project, we can make sure that the web service was
deployed successfully by expanding the
RESTful Web Services
node on our
project, right-clicking on our RESTful web service and selecting
Test Resource Uri
.
This action will invoke the
findAll()
method in our service (since it is the only
method that doesn't require a parameter), the generated XML response will
automatically open in the browser.