SOAP Services Home Page

SOAP Test Connectivity Service Documentation

The SOAP Test Connectivity Service allows you to verify if the server is reachable and responding correctly. It is a simple service that returns a status message confirming a successful connection.

Endpoint

POST /webservices/soap/ws-test-connectivity.php

Request Structure

Below is the structure of the SOAP request used to test connectivity:


POST /webservices/soap/ws-test-connectivity.php HTTP/1.1
Host: mutillidae.localhost
User-Agent: curl/8.5.0
Accept: */*
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:testConnectivity"
Content-Length: 185
Connection: close

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <testConnectivity/>
   </soapenv:Body>
</soapenv:Envelope>

How to Use in Burp Repeater

  1. Open Burp Suite and navigate to the Repeater tab.
  2. Copy the following request and paste it into the Repeater window:
POST /webservices/soap/ws-test-connectivity.php HTTP/1.1
Host: mutillidae.localhost
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:testConnectivity"
Content-Length: 147

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
  <testConnectivity/>
</soapenv:Body>
</soapenv:Envelope>

Click Send to test the connectivity. If the service is working, the server will respond with a status message.

Example Using curl (Command Line)

curl -X POST "http://mutillidae.localhost/webservices/soap/ws-test-connectivity.php" \
-H "Content-Type: text/xml; charset=utf-8" \
-H "SOAPAction: \"urn:testConnectivity\"" \
--data '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
  <testConnectivity/>
</soapenv:Body>
</soapenv:Envelope>'

Expected Response

If the request is successful, the server will respond with the following SOAP message:

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <testConnectivityResponse>
         <status>OK</status>
         <code>200</code>
         <message>Connection succeeded.</message>
         <timestamp>2024-10-27 14:00:00</timestamp>
      </testConnectivityResponse>
   </soap:Body>
</soap:Envelope>

Troubleshooting

Troubleshooting Tips:

Learn More

Try sending multiple requests and observe how the timestamp changes in each response.