class for SOAP connections to the Salesforce.com SOAP API; returns an object of class SalesforceSoapClient
More...
Inherits SoapConnection.
class for SOAP connections to the Salesforce.com SOAP API; returns an object of class SalesforceSoapClient
supports the following static initialization options:
"connect_timeout"
: connection timeout to use in milliseconds
"content_encoding"
: this sets the send encoding (if the "send_encoding"
option is not set) and the requested response encoding; for possible values, see EncodingSupport
"force_logout"
: forces a logout when the SalesforceSoapClient object is destroyed; this should normally be False to allow for the session to remain valid
"http_version"
: HTTP version to use ("1.0"
or "1.1"
, defaults to "1.1"
)
"max_redirects"
: maximum redirects to support
"password"
: Salesforce.com password
"port"
: in case multiple port entries are found in the WSDL, give the one to be used here
"portType"
: in case multiple portType entries are found in the WSDL, give the one to be used here
"proxy"
: proxy URL to use
"send_encoding"
: a send data encoding option or the value "auto"
which means to use automatic encoding; if not present defaults to no content-encoding on sent message bodies
"target_url"
: overrides the URL in the WSDL (mapped to "url"
in the SoapClient::constructor() argument)
"token"
: Salesforce.com user API token
"timeout"
: transfer timeout to use in milliseconds
"username"
: Salesforce.com username
"wsdl"
: overrides the WSDL URL provided by the connection URL; "wsdl"
values with a "file://"
scheme are subject to environment variable substitution
- See also
- SalesforceSoapClient::constructor(hash) for more information on the above options
- Note
- additionally supports the following runtime options in getImpl() for connection logging:
"log"
: a closure accepting a single string for logging
"dbglog"
: a closure taking a single string for detailed technical connection logging
- the following options are required:
"username"
: (required) Salesforce.com username
"password"
: (required) Salesforce.com password
"token"
: (required) Salesforce.com user API token