Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • Madrid
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

SOAPMessageV2 - execute()

Log in to subscribe to topics and get notified when content changes.

SOAPMessageV2 - execute()

Send the SOAP message to the endpoint.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
SOAPResponseV2 The response returned by the SOAP provider.
var sm = new sn_ws.SOAPMessageV2("StockQuote","GetQuote"); //Might throw exception if message doesn't exist or not visible due to scope.
var response = sm.execute(); //Might throw exception if http connection timed out or some issue with sending request itself because of encryption/decryption of password.
Feedback