---
title: How to Monitor and Validate SOAP Services with Nodinite Web Service Monitoring Agent
description: Discover how to monitor and validate SOAP web services using the Nodinite Web Service Monitoring Agent. This guide provides step-by-step instructions to automate tests, evaluate XML responses, and ensure secure, reliable integrations.
---

# How to monitor a SOAP service

Unlock the power of automated SOAP service monitoring with <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>! This comprehensive guide shows you how to configure, test, and validate XML-based SOAP services using the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Web Service Monitoring Agent][Web Services Agent].

✅ Effortlessly monitor SOAP web services and automate response validation  
✅ Instantly detect certificate and authentication issues  
✅ Group, manage, and alert on resources for seamless integration  

> This is a complete end-to-end user guide on how to call and evaluate a response from an XML-based SOAP service using a **Temperature Converter** from [W3Schools](https://www.w3schools.com/xml/tempconvert.asmx?op=CelsiusToFahrenheit)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Web Service Monitoring Agent][Web Services Agent] enables you to perform requests and evaluate the body of HTTP responses. Each Web Service configuration becomes a [Resource][Resources] in one or more [Monitor Views][] where you can track the evaluated state in real time.  

![SOAP Resources Example][4]  
*Example of monitored SOAP resources with evaluated state in Nodinite.*

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 1: Add a new Application

Enter a name and unique ID for each application.  

Repeat as needed. The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Application][Applications] feature makes it easy to group and identify your monitored services.  
![SOAP Application][png_SOAPApplication]  
*Create and group applications for better resource management.*

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 2: Add the SOAP Service to be monitored

* Click the <i class="fal fa-square-plus" aria-hidden="true"></i> **Add** button:  
![Add new Web Service][6]  
*Add a new SOAP Web Service for monitoring.*

* Expand the empty entry by clicking on the accordion:  
![Expand empty entry][7]  
*Expand to configure your new SOAP Web Service.*

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 3: Basic tab

Name your configuration by editing the following fields in the **Basic** tab:  
![Basic Tab][2]  
*Configure the basic settings for your SOAP service monitoring.*

* Make sure the configuration is **enabled** (checked)  
* Set the **Display name** to a logical name, for example: `Evaluate Temperature using a SOAP service`  
* Set the **Description** to provide context, such as `Sample SOAP Service`  
* Select the **Application** you created in [Step 1](#fa-forward-step-step-1-add-a-new-application)  

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 4: Advanced tab

Manage your time-related thresholds in the **Advanced** tab:  
![Advanced Tab][9]  
*Set polling intervals, timeouts, and retry logic for robust monitoring.*

* Set the **Polling Interval** (e.g., **3600** seconds for infrequent checks)  
* Set the **Request Timeout** (e.g., **120** seconds)  
* Check **Allow Retries**  
* Set the **Number of retries** (e.g., **3**) to avoid false alerts  
* Set the **Retry Status Code** to **OK** to ignore errors during retries  

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 5: Request tab

Configure the actual **Request** in the **Request** tab:  
![Request Tab][10]  
*Define the SOAP request details, including URI, method, and payload.*

* Enter the **URI** to the [Web API][], e.g., `https://www.w3schools.com/xml/tempconvert.asmx`  
* Set the **method** to **POST**  
* Check the **SOAP** checkbox  
* Enter the XML body as the payload for the SOAP call, for example:  

```xml
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CelsiusToFahrenheit xmlns="https://www.w3schools.com/xml/">
      <Celsius>42</Celsius>
    </CelsiusToFahrenheit>
  </soap12:Body>
</soap12:Envelope>
```

* Set the **Content-Type** to `application/soap+xml; charset=utf-8`  

![Content-Type][3]  
*Set the correct Content-Type for SOAP requests.*

If you omit the **Content-Type** HTTP header, you will typically see the following error:  

![UnsupportedMediaType][1]  
*Error state when Content-Type is missing or invalid.*

> Always verify the correct **Content-Type** for your specific SOAP service.

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 6: Response tab

Configure response validation in the **Response** tab:  
![Response Tab][11]  
*Set expected status codes and response validation criteria.*

* Set the **Status Code** to `200` (**OK**)  
* For this type of check, you can usually leave performance checkboxes **unchecked**  

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 7: Evaluate response body tab

Configure evaluation of the HTTP response body in the **Evaluate response body** tab:  
![Evaluate response body][8]  
*Use XPath expressions to validate SOAP response content.*

* Select **Expression Type**: `Xpath`  
* Enter the following **Expression**:  

```xml
/*[local-name()='Envelope']/*[local-name()='Body']/*[local-name()='CelsiusToFahrenheitResponse']/*[local-name()='CelsiusToFahrenheitResult']
```

> Use **local-name()** in [XPath][] when the response includes namespaces.

* Set the expected result to **107.6** (use another value for negative tests)  

### XML SOAP Response

For reference, here is the XML for the SOAP response:  

```xml
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CelsiusToFahrenheitResponse xmlns="https://www.w3schools.com/xml/">
      <CelsiusToFahrenheitResult>107.6</CelsiusToFahrenheitResult>
    </CelsiusToFahrenheitResponse>
  </soap12:Body>
</soap12:Envelope>
```

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 8: Certificate tab

If your SOAP service uses HTTPS, ensure there are no certificate issues. Configure <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> to alert you if a problem is detected with the certificate in the **Certificate** tab:  
![Certfificate tab][13]  
*Monitor certificate validity and enforce secure connections.*

* Check **Evaluate certificate** if you use a certificate  
* Set the number of days before expiry for Warning and Error alerts  
* Check **Force the use of certificate** if you want to enforce certificate usage  
* Leave **Allow connection for invalid certificates** unchecked to ensure security  

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 9: Authentication tab

In this example, no authentication is required since the service is public. If your service requires authentication, configure it in the **Authentication** tab:  
![Authentication Tab][12]  
*Configure authentication if your SOAP service requires it.*

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 10: Save configuration

Click **Save** to persist your configuration. You should see a success message:  
![Save success][15]  
*Confirmation of successful configuration save.*

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 11: Create a Monitor View and Configure alerts

Configure a [Monitor View][Monitor Views] and select an [Alarm Plugin][Alarm Plugins] to receive alerts in your preferred way. These steps are detailed in the [Add or manage Monitor View][] user guide.  

> Make sure to select the [Resource][Resources] you named in [step 3](#fa-forward-step-step-3-basic-tab).  
___

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

<i class="fal fa-display" aria-hidden="true"></i> [Monitor Views][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

<i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Add or manage a Monitoring Agent Configuration][]  
<i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Monitoring Agents][]  
<i class="fal fa-gears" aria-hidden="true"></i> [Administration][]  
<i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Monitoring Agents][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/WebServices/Examples/SOAP/UnsupportedMediaType.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/WebServices/Examples/SOAP/BasicTab.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/WebServices/Examples/SOAP/ContentType.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/WebServices/Examples/SOAP/ResourcesWithStateOK.png
[6]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/AddNewWebService.png
[7]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/ExpandEmptyEntry.png
[8]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/WebServices/Examples/SOAP/EvaluateResponseBodyTab.png
[9]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/AdvancedTab.png
[10]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/WebServices/Examples/SOAP/RequestTab.png
[11]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/ResponseTab.png
[12]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/WebServices/Examples/SOAP/AuthenticationTab.png
[13]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/CertificateTab.png
[15]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/SaveConfiguration.png

[Add or manage a Monitoring Agent Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/add-or-manage-monitor-agent/
[Add or manage Monitor View]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/add-or-manage-monitor-view/
[Administration]:https://docs.nodinite.com/administration/overview/
[Alarm Plugins]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/what-is-an-alarm-plugin/
[Applications]:https://docs.nodinite.com/administration/monitor-management/applications/features/what-is-an-application/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[png_SOAPApplication]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/WebServices/Examples/SOAP/SOAPServicesApplication.png
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Web Services Agent]:https://docs.nodinite.com/logging-and-monitoring/web-services/overview/
[XPath]:https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/formula/extract/xpath/