---
sourceDocument: Yokohama API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/api-reference

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Scripting outbound SOAP

# Scripting outbound SOAP {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
You can send outbound SOAP requests from any
place in the ServiceNow AI Platform where
scripting is allowed.
For detailed API information about the server-side SOAPMessageV2 and SOAPResponseV2 APIs,
see the API documentation on [developer.servicenow.com](https://developer.servicenow.com/app.do#!/home). For additional tips and best
practices, see the [Outbound REST Web Services RESTMessageV2 and SOAPMessageV2
execute() vs executeAsync() Best Practices \[KB0694711\]](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0694711) article in the Now Support Knowledge Base.
* **[Preview a SOAP message script](https://servicenow-prod.fluidtopics.net/GPr9yUGFvIZA9BW0mKWOMw)**   
  Generate a sample script to send the SOAP message.
* **[Direct SOAPMessageV2 example](https://servicenow-prod.fluidtopics.net/7HGfPmZRSsVDD88uEF0ACg)**   
  You can send an outbound SOAP message directly to the endpoint.
* **[Asynchronous SOAPMessageV2 example](https://servicenow-prod.fluidtopics.net/QySLqd6DwXXVSsS7ai13VA)**   
  You can send an outbound SOAP message asynchronously.
* **[SOAPMessageV2 MID server example](https://servicenow-prod.fluidtopics.net/d2HEZ~PDULLYRwmaJURQsw)**   
  You can send an outbound SOAP message through a MID Server.
* **[Recordless SOAPMessageV2 example](https://servicenow-prod.fluidtopics.net/w~UVIaiMcqYnw8ElFIhOvw)**   
  You can use the SOAPMessageV2() constructor with no parameters to define a SOAP message entirely in the script.

