# SOAP

![](/files/-M4u9_-VWieO2h2Kp8Uh)

{% hint style="danger" %}
**This is an advanced module**
{% endhint %}

## **Function**

This module allows users to integrate with a SOAP webservice integration from within the application.

Its functionality is similar to the [REST](/fuse/data/rest.md) (<img src="/files/-M4u9_1ajC7GIKRSWvr_" alt="" data-size="line">) module, but using the SOAP specification. Unlike REST, SOAP is fully discoverable. With REST, users must know precisely what information the the webservice should return. Conversely, with SOAP, users can essentially send a list of required information and the webservice will be able to return that information.

## **Inputs**

The SOAP module has four different input sections.

### **WSDL URL**

Enter the WSDL for the desired SOAP webservice. Click the refresh icon to load the WSDL methods for the webservice in the module.

### **SOAP Version**

This indicates the SOAP version for the selected webservice. Options include SOAP 1.1 or SOAP 1.2.

### **Method**

Drop-down menu that selects the method of the desired SOAP webservice.

### **Parameters**

Set parameters for the desired SOAP webservice based on the method selected from the WSDL.

* **Parameter**: The parameter name. The module automatically populates this field when selecting a method for the desired SOAP webservice.<br>
* **Value**: The value to be submitted for the parameter. This field accepts dynamic variables from within an application.<br>

## **Module Settings**

### [**Hold Music**](/fuse/module-settings.md#hold-music)

|                                                                     |                                                                                                                                                                                                                                                                                      |
| ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <img src="/files/-M5NbiYg-I4cANYYF0Y5" alt="" data-size="original"> | <p>Enable this setting to play audio while an end-user is on hold.<br>To upload a file for hold music, go to <em>Application Settings > Connection Settings ></em> <a href="/pages/-M4z72y3R7KiJyI7gkuv#webservices"><em>Webservices</em></a> <em>> Webservice fetch audio</em>.</p> |

### [**Timeout Length**](/fuse/module-settings.md#timeout-length)

|                                                                     |                                                                                                                                                                                                                                                                                                                     |
| ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <img src="/files/-M5NbiYv3-c_ACDrj4Um" alt="" data-size="original"> | <p>This allows users to set the maximum time, in seconds, that elapse before returning a timeout error. This applies modules that fetch outside scripts, like the SOAP, REST, or subdialog modules.<br><br>The default value for Timeout Length is 30 seconds.<br>Acceptable number values range from 1 to 120.</p> |

### [Private](/fuse/module-settings.md#private)

|                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <img src="/files/-M5NbiYoLH9-yNY0kT9f" alt="" data-size="original"> | <p>This setting controls the logging function of a module.<br>Enabling the 'Private' setting instructs the module to not record, report, or retain the information input to that module for reporting or any other purposes. When enabled any information entered into a module during a call will be lost immediately when the call terminates.<br>The 'Private' setting is critical for businesses that need to maintain PCI-DSS or HIPAA compliance.<br><br>The module icon, in the upper left-hand corner, becomes grayed-out when this setting is enabled. See more details <a href="/pages/-M4zJLOnor8aJqMZ7an7#visual-indicators">here</a>.</p> |

### [**Show Custom Errors (SOAP)**](/fuse/module-settings.md#show-custom-errors-soap)

|                                                                     |                                                                                                                                                                                                            |
| ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <img src="/files/-M5NbiYpIlBkq4cl4qvN" alt="" data-size="original"> | <p>This setting can be used to catch any error that occur during the SOAP call.<br>The two common errors associated with a SOAP webservice are timeouts and faults. The latter are custom SOAP errors.</p> |

{% hint style="info" %}
The two common errors associated with a SOAP webservice are timeouts and faults. The latter are custom SOAP errors.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.plumvoice.com/fuse/data/soap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
