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 - setStringParameter(String name, String value)

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

SOAPMessageV2 - setStringParameter(String name, String value)

Set a variable with the specified name from the SOAP message record to the specified value.

XML reserved characters in the value are converted to the equivalent escaped characters.

Table 1. Parameters
Name Type Description
name String The name of the SOAP message variable.
value String The value to assign to the specified variable.
Table 2. Returns
Type Description
void
var sm = new sn_ws.SOAPMessageV2("StockQuote","GetQuote"); //Might throw exception if message doesn't exist or not visible due to scope.
sm.setStringParameter("symbol","NOW");
Feedback