Web Services
beginner
Call a SOAP service and a REST API from a client
Import the TemperatureService WSDL into SoapUI, send a SOAP envelope and provoke a SOAP Fault, then use Postman to perform full CRUD on the Students REST API and compare status codes, headers and payloads.
What you'll do
- Consume a SOAP service from its WSDL
- Read SOAP envelopes, bodies and faults
- Use HTTP methods and status codes correctly with a REST API
- Compare SOAP and REST in practice
Lab tasks
- 1 Create a SOAP project from the WSDL
- 2 Convert 37 °C
- 3 Trigger a SOAP Fault
- 4 GET the students collection in Postman
- 5 Create a student with POST
- 6 Update it with PUT
- 7 Delete it and confirm 404