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

SOAPMessageV2 - setSOAPAction(String soapAction)

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

SOAPMessageV2 - setSOAPAction(String soapAction)

Define the SOAP action this SOAP message performs.

The WSDL for your web service provider lists SOAP actions you can perform. You must call this method when using the SOAPMessageV2() constructor with no parameters.

Table 1. Parameters
Name Type Description
soapAction String The SOAP action this SOAP message performs.
Table 2. Returns
Type Description
void
var sm = new sn_ws.SOAPMessageV2();
sm.setSOAPAction("GetQuote");
//construct SOAP message by specifying endpoint and auth
sm.execute();
Feedback