Class: SOAP

SOAP

<protected> new SOAP(options)

Class for SOAP endpoint of Salesforce
Parameters:
Name Type Description
options Object SOAP endpoint setting options
Properties
Name Type Argument Description
serverUrl String SOAP endpoint URL
sessionId String Salesforce session ID
xmlns String <optional>
XML namespace for method call (default is "urn:partner.soap.sforce.com")
Source:

Methods

invoke(method, args, callback) → {Promise.<Object>}

Invoke SOAP call using method and arguments
Parameters:
Name Type Argument Description
method String Method name
args Object Arguments for the method call
callback Callback.<Object> <optional>
Callback function
Source:
Returns:
Type
Promise.<Object>