Summary
We looked into our first soapUI project in this chapter. Out of the three web services which we implemented in the previous chapter, the guest management web service was used to add a new guest to the system, view the details of the guest, and delete the guest from the system. We invoked all these operations of our sample service using soapUI. We studied the request generated by soapUI and related it to the contents of WSDL of GuestManagementService
. We also had a detailed discussion on two different views of requests and responses presented by soapUI. In the Raw view, we were able to see the message with HTTP headers, and the XML view showed just the SOAP envelope of the message. We also discussed about failure cases of web service invocations and had a look at a SOAP Fault.
We are going to extend our project to a full comprehensive test suite in the next chapter.