Sometimes we need to test our web service but you just simply test. How? You don’t need to create a client call, request your front-end Servlet, or complex test. Basic you get “SOAP message”, then you send it over HTTP POST to web service URL. Using “cURL”, “Apache TCPMon” or “soapUI”, those tools can help you.

For example, I use “cURL” to test and return me correct SOAP-response.

curl –request POST -H “Content-Type: text/xml” -H “SOAPAction: http://ws.fraudlabs.com/ZIPCodeWorld_US” –data @ZIPcode_soap_req.xml http://ws.fraudlabs.com/zipcodeworldUS_webservice.asmx

Look at those useful tips.

1. Mocking Web services

2. Debugging Web Services

3. Using TCP Monitor to Debug Web Service Calls

4. soapUI eclipse-plugin

Advertisements