SalesforceSoapClient Module

# Introduction to the SalesforceSoapClient Module

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

This module provides the following classes:

- SalesforceSoapClient
- SalesforceSoapConnection

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

- xml binary module
- SoapClient user module
- WSDL user module
- Mime user module

# SalesforceSoapClient Example

Here is an example of how to use this module:

hash opts = (
"wsdl": wsdl,
"username": "myuser@example.com",
"password": "pass",
"token": "token",
"log": sub (string fmt) {
if (m_options.verbose)
printf("INFO: %s\n", vsprintf(fmt, argv));
},
"dbglog": sub (string fmt) {
if (m_options.verbose > 1)
printf("DEBUG: %s\n", vsprintf(fmt, argv));
},
);
SalesforceSoapClient sc(opts);
string ss = sprintf("select id, name, description, accountnumber from account where accountnumber = '%s'", AcctNo1);
hash rh = sc.query(("queryString": ss));
printf("%N\n", rh);

# SalesforceSoapClient Release Notes

## SalesforceSoapClient v1.1

- added the SalesforceSoapConnection class

## SalesforceSoapClient v1.0

- initial release of the module