Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.

SOAPMessageV2 - setHttpTimeout(Number timeoutMs)

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

SOAPMessageV2 - setHttpTimeout(Number timeoutMs)

Set the amount of time the SOAP message waits for a response from the web service provider before the request times out.

Table 1. Parameters
Name Type Description
timeoutMs Number The amount of time to wait for a response from the web service provider, in milliseconds.
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.setHttpTimeout(6000);
Feedback