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