Mock services with soapUI
We briefly discussed service mocking in general and the purpose and objectives of service simulation. Now, it is time to apply the theory into practice. As we did in previous chapters, we will explore the soapUI service mocking features by simulating web services in our sample Hotel Reservation System.
soapUI allows you to create a simulation of the web service from its WSDL. This simulation is known in a soapUI project as a MockService. A consumer application can connect to the MockService as if it is the real web service.
Suppose one of the web services of our sample Hotel Reservation System are consumed by some other service-oriented solution. Let's call this solution solution B for simplicity. The solution B is almost done whereas the services of our Hotel Reservation System are still being implemented. The quality assurance team of solution B follows an agile testing approach and they do not wish to wait until all services of the Hotel Reservation System are...