---
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 :Nodinite:! This comprehensive guide shows you how to configure, test, and validate XML-based SOAP services using the :Nodinite: [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>:fa-arrow-up-right-from-square:</sup>

The :Nodinite: [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.*

## :fa-forward-step: Step 1: Add a new Application

Enter a name and unique ID for each application.  

Repeat as needed. The :Nodinite: [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.*

## :fa-forward-step: Step 2: Add the SOAP Service to be monitored

* Click the :fa-square-plus: **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.*

## :fa-forward-step: 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)  

## :fa-forward-step: 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  

## :fa-forward-step: 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.

## :fa-forward-step: 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**  

## :fa-forward-step: 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>
```

## :fa-forward-step: Step 8: Certificate tab

If your SOAP service uses HTTPS, ensure there are no certificate issues. Configure :Nodinite: 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  

## :fa-forward-step: 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.*

## :fa-forward-step: Step 10: Save configuration

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

## :fa-forward-step: 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).  
___

## :fa-hand-point-right: Next Steps

:fa-display: [Monitor Views][]  

## :fa-link-horizontal: Related Topics

:fa-monitor-waveform: [Add or manage a Monitoring Agent Configuration][]  
:fa-monitor-waveform: [Monitoring Agents][]  
:fa-gears: [Administration][]  
:fa-monitor-waveform: [Monitoring Agents][]  

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

[Add or manage a Monitoring Agent Configuration]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/Add%20or%20manage%20Monitor%20Agent.md
[Add or manage Monitor View]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/Add%20or%20manage%20Monitor%20View.md
[Administration]:{ndr}/Administration/Overview.md
[Alarm Plugins]:{ndr}/Administration/5.%20Settings/1.%20Alarm%20Plugins/Features/What%20is%20an%20Alarm%20Plugin.md
[Applications]:{ndr}/Administration/2.%20Monitor%20Management/5.%20Applications/Features/What%20is%20an%20Application.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[png_SOAPApplication]:{ndm}/Documentation%20Pictures/MonitorAgent/WebServices/Examples/SOAP/SOAPServicesApplication.png
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Web Services Agent]:{ndr}/Logging%20and%20Monitoring/Web%20Services/Overview.md
[XPath]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Formula/Extract/xPath.md