SOAP Message workflow activity
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
|
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 Services > Outbound > SOAP 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, . . . Text |
--- title: SOAP Message workflow activity description: The SOAP Message activity uses SOAP messages defined in the System Web Services plugin and can call the messages using a MID Server. locale: en-US canonical_url: https://www.servicenow.com/docs/r/servicenow-platform/orchestration/r\_SOAPMessageActivity.html release: brazil product: Orchestration classification: orchestration topic_type: reference last_updated: "2026-09-10" reading_time_minutes: 2 breadcrumb: [Deprecated Orchestration activities, Activate Orchestration, Classic Orchestration, ServiceNow AI Platform Additional Capabilities, Extend ServiceNow AI Platform capabilities] --- # SOAP Message workflow activity 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 <table id="table_cnt_xvl_sq"><thead><tr><th> Field </th><th> Parameter </th><th> Description </th></tr></thead><tbody><tr><td> SOAP Message </td><td> soap\_message </td><td> The SOAP Message defined under the System Web Services plugin's Outbound SOAP Message \[sys\_soap\_message\] table. \(**System Web Services** > **Outbound** > **SOAP Message**\) </td></tr><tr><td> SOAP Message Function </td><td> soap\_message\_function </td><td> 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. </td></tr><tr><td> SOAP Endpoint </td><td> soap\_endpoint </td><td> 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. </td></tr><tr><td> Variables </td><td> variables </td><td> 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. </td></tr><tr><td> Use MID Server </td><td> use\_midserver </td><td> 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. </td></tr><tr><td> MID Server </td><td> midserver </td><td> 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/servicenow-platform/mid-server/c_MIDServerSelector.md) available starting with the Istanbul release. </td></tr><tr><td> Sensor Script </td><td> sensor\_script </td><td> 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. </td></tr></tbody> </table>**Parent Topic:**[Deprecated Orchestration activities](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/servicenow-platform/orchestration/r_OrchestrationBasicActivities.md)
| title | SOAP Message workflow activity |
| description | The SOAP Message activity uses SOAP messages defined in the System Web Services plugin and can call the messages using a MID Server. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/servicenow-platform/orchestration/r\_SOAPMessageActivity.html |
| release | brazil |
| product | Orchestration |
| classification | orchestration |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 2 |
| breadcrumb | Deprecated Orchestration activitiesActivate OrchestrationClassic OrchestrationServiceNow AI Platform Additional CapabilitiesExtend ServiceNow AI Platform capabilities |