Introduction to the SalesforceSoapClient Module
The SalesforceSoapClient module provides an API for communicating with Salesforce.com using SOAP.
This module provides the following classes:
This module requires the following modules which are also reexported to the program context:
SalesforceSoapClient Example
Here is an example of how to use this module:
3 "username":
"myuser@example.com",
6 "log": sub (string fmt) {
8 printf(
"INFO: %s\n", vsprintf(fmt, argv));
10 "dbglog": sub (string fmt) {
11 if (m_options.verbose > 1)
12 printf(
"DEBUG: %s\n", vsprintf(fmt, argv));
16 SalesforceSoapClient sc(opts);
17 string ss = sprintf(
"select id, name, description, accountnumber from account where accountnumber = '%s'", AcctNo1);
18 hash<auto> rh = sc.query({
"queryString": ss});
SalesforceSoapClient Release Notes
SalesforceSoapClient v1.4
- implemented support for a data provider scheme cache and rich option information for connections (issue 4025)
SalesforceSoapClient v1.3
- removed the obsolete
SalesforceSoapConnection::getConstructorInfo() method as connection serialization is a much more elegant and maintainable solution (issue 3696)
SalesforceSoapClient v1.2
- added the
SalesforceSoapConnection::getConstructorInfo() method to allow connections to be created dynamically, potentially in another process from a network call (issue 2628)
SalesforceSoapClient v1.1
SalesforceSoapClient v1.0
- initial release of the module