SoapUI, developing and debugging SOAP services

This isn’t quite my usual fair, but a good tool is a good tool. If you are working on your new web 2.0 application, integrating various services, there’s always a moment when you just can’t seem to get 2 services to work together. For some reason, on service is requesting the wrong data, or is it the other service that’s replying with the wrong answer?

Only one solution to get to the heart of the problem: You need to isolate both services and test your assumptions. There are various tools that will help you test pure HTML based REST services, but when dealing with a SOAP service, I found the options pretty limited.

Until I encountered soapUI. soapUI is a tool that allows you to import WSDL files and separate client and server. You can create automated tests for the server, but you can also construct SOAP requests by hand. This allows you to play with the parameters and figure out what works and what doesn’t. Once you’ve got what you want, you can automate tests that regularly verify your assumptions of the service (you know, when documents fail).

For the client, you can create a mock implementation of the web service. So even if you’re offline or the server is offline, you can continue developing.

It’s a win-win for both sides.