---
sourceDocument: Xanadu ServiceNow AI Platform Capabilities
sourceDocumentLink: https://www.servicenow.com/docs/r/xanadu/servicenow-platform

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# SOAP Message workflow activity

# SOAP Message workflow activity {#r_SOAPMessageActivity__b51_4ks_3x}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

The SOAP Message activity uses SOAP messages defined in the
System Web Services plugin and can call the messages using a MID Server.
Your instance must have access to a MID Server configured to use SOAP.

## Input variables

{#r_SOAPMessageActivity__table_cnt_xvl_sq__entry__3}

| Field | Parameter | Description |
|-|-|-|
| SOAP Message | soap_message | The SOAP Message defined under the System Web Services plugin's Outbound SOAP Message \[sys_soap_message\] table. (System Web ServicesOutboundSOAP Message) |
| SOAP Message Function | soap_message_function | The function to call that is defined in the SOAP Message. Functions are listed in the SOAP Message Functions related list in each SOAP Message record. |
| SOAP Endpoint | soap_endpoint | Endpoint to use instead of the SOAP endpoint value in the SOAP Message Function record. Leave this field blank to use the defined endpoint in the SOAP Message Function record. |
| Variables | variables | Variables to substitute into the SOAP Envelope defined in the SOAP Message Function record. Use this format for the string: name1=value1, name2=value2, . . . If either the name or value contains a comma or equal sign, escape these characters with a backslash. |
| Use MID Server | use_midserver | Check box for using a MID Server to send the SOAP message. A MID Server might be necessary to reach an endpoint within a firewall or a sub-network that is not visible from the instance. If this check box is selected (true), but no MID Server is defined in the MID Server field, workflow automatically attempts to find a MID Server. |
| MID Server | midserver | Name of the MID Server to use. This field appears when you select the Use MID Server check box. The workflow ignores this parameter if the use_midserver parameter is disabled. Note: You can only select a specific MID Server in the legacy SOAP message activity and REST messages. These legacy activities do not use the [MID Server selection](https://www.servicenow.com/docs/cryP3JERLQCzKYmVB6TA8g "You can configure MID Server selection by application, IP address ranges, network capability, or behavior. Specific MID Servers can be assigned to particular tasks, or the MID Server can be selected automatically. MID Servers can use domain separation to limit the scope of discoveries and event management.") available starting with the Istanbul release. |
| Sensor Script | sensor_script | The script to execute after the request has been made and a response has been received. You can access the full XML response body from the activity.output object. |
[Table 1. SOAP Message activity input variables]

{#r_SOAPMessageActivity__table_cnt_xvl_sq}

*[\>]: and then


