February 2015
Intermediate to advanced
328 pages
7h 29m
English
This recipe shows how to generate and develop a simple RESTful web service stub test-first using TDD. The main SoapUI learning will be how to test a simple RESTful web service defined by a WADL that produces JSON responses. Basic JAX-RS web service development skills using Apache CXF can also be learned here.
The example service is a REST version of the SOAP invoice service from the first recipe. The service is defined by a WADL with the following main properties:
: invoice_v1.wadlhttp://localhost:9000/invoiceservice/v1GET /invoice/{id}application/jsonApache CXF will be used to generate, build, and run the stub web service. See ...
Read now
Unlock full access