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 - getRequestHeaders()

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

SOAPMessageV2 - getRequestHeaders()

Get HTTP headers that were set by the SOAP client and the associated values.

This method does not return headers set automatically by the system. To configure this method to return all headers, set the property glide.http.log_debug to true.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Object An Object that maps the name of each header to the associated value.
var sm = new sn_ws.SOAPMessageV2("StockQuote","GetQuote"); //Might throw exception if message doesn't exist or not visible due to scope.
var endpoint = sm.getRequestHeaders();
Feedback