Scripting outbound SOAP
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. For additional tips and best practices, see the Outbound REST Web Services RESTMessageV2 and SOAPMessageV2 execute() vs executeAsync() Best Practices [KB0694711] article in the Now Support Knowledge Base.
- Preview a SOAP message script
Generate a sample script to send the SOAP message. - Direct SOAPMessageV2 example
You can send an outbound SOAP message directly to the endpoint. - Asynchronous SOAPMessageV2 example
You can send an outbound SOAP message asynchronously. - SOAPMessageV2 MID server example
You can send an outbound SOAP message through a MID Server. - Recordless SOAPMessageV2 example
You can use the SOAPMessageV2() constructor with no parameters to define a SOAP message entirely in the script.
Parent Topic:Outbound SOAP web service