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 ...

Get Web Services Testing with soapUI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.