Qore SalesforceSoapClient Module Reference  1.0
 All Classes Namespaces Functions Variables Groups Pages

Introduction to the SalesforceSoapClient Module

The SalesforceSoapClient module provides an API for communicating with Salesforce.com using SOAP.

This module requires the following modules which are also reexported to the program context:

This module provides the following class:

SalesforceSoapClient Example

Here is an example of how to use this module:

1 hash opts = (
2  "wsdl": wsdl,
3  "username": "myuser@example.com",
4  "password": "pass",
5  "token": "token",
6  "log": sub (string fmt) {
7  if (m_options.verbose)
8  printf("INFO: %s\n", vsprintf(fmt, argv));
9  },
10  "dbglog": sub (string fmt) {
11  if (m_options.verbose > 1)
12  printf("DEBUG: %s\n", vsprintf(fmt, argv));
13  },
14  );
15 
16 SalesforceSoapClient sc(opts);
17 string ss = sprintf("select id, name, description, accountnumber from account where accountnumber = '%s'", AcctNo1);
18 hash rh = sc.query(("queryString": ss));
19 printf("%N\n", rh);

SalesforceSoapClient Release Notes

SalesforceSoapClient v1.0

  • initial release of the module