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.

This entry was posted in Java and JavaScript. Bookmark the permalink. Both comments and trackbacks are currently closed.
  • Feedback or questions? Contact me right away.

    Comments have been disabled on my posts. Not because I don't want to hear from you, but because they were adding very little to the conversation (most of them were spam anyway). I do listen to you and try to keep as much posts as possible up-to-date and error free. So if you have a question, if something isn't working the way you hoped or you have general feedback, please use the contact form below. I guarantee an answer to every honest question or remark.
  • Get in touch
    1. (required)
    2. (valid email required)
     

    cforms contact form by delicious:days