Testing SOAP services using pingdom

This post gives half the answer I needed to test SOAP services . The other half of the answer was to override the default Content-Type HTTP header added by pingdom (Check the 11th point in the Optional Parameters section).

To override the header, just add one with a blank space. This worked for me and may be for you too.

Also another thing I had to do while testing web services developed using Apache Axis (I don't know which version), is that I had to specify a SOAPAction header with the value "" (The value is 2 double quotes, not an empty value)

Generally, you need successfully send a POST request to the service and find out what HEADER you are missing (i.e. to add it) or adding (i.e. to remove it). You can use SOAP UI to do that. But SOAP UI doesn't show sent HEADER by default, so you'll need to download TCPMon (Which records and displays communications), start it, and let it proxy connections on a specific port, then configure SOAP UI to use that port as a proxy. At the time of writing this post, SOAP UI v4.6.4 supports this mechanism out of the box.


  1. I'm trying to monitor a SOAP Web Service with Pingdom but I only get this response: "Error: Invalid HTTP response".

    Please, could you possibly explain what parameter do I have to use to override the Pingdom Content-type?

    I'm trying things like "Content-type" & "application/soap+xml; charset=utf-8" but it doen-t works.

    Thanks in advance.

    1. The perfect thing you can do, is to use an HTTP client and try to manually post the SOAP request. When you reach a valid configuration (SOAP request and HTTP headers), try to mimic these values within your Pingdom alert configuration.

      Also try specifying "text/xml" as a value for the "Content-type" header. If this doesn't work, try specifying a blank value or a space to clear the value for this header.

      Try to minimize the sent SOAP response by removing line breaks and spaces between different tags. Use this application to help you do this: http://codebeautify.org/xmlviewer

      Tell me if this works for you :)


Post a Comment

Popular posts from this blog