--- 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/australia/servicenow-platform/orchestration/r\_SOAPMessageActivity.html release: australia product: Orchestration classification: orchestration topic_type: reference last_updated: "2026-03-12" 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
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, . . . ``` 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/mid-server/c_MIDServerSelector.md) 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.
**Parent Topic:**[Deprecated Orchestration activities](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/orchestration/r_OrchestrationBasicActivities.md)