AJAX Toolkit Developer Guide
Embed API calls in Visualforce pages, buttons, and links with AJAX Toolkit — a JavaScript wrapper around SOAP API.
The AJAX Toolkit supports Microsoft® Internet Explorer® versions 9, 10, and 11 with the latest Microsoft hot fixes applied, and Mozilla® Firefox®, most recent stable version. The AJAX Toolkit is based on the partner WSDL. Because there’s no type checking in JavaScript, the type information available in the enterprise WSDL isn’t needed.
Before you use the AJAX Toolkit, familiarize yourself with JavaScript and with the information about SOAP API in the SOAP API Developer Guide.
Note
-
For best performance, use the AJAX Toolkit when working with small amounts of data.
-
API Calls and the AJAX Toolkit
This toolkit supports all SOAP API calls, as well as
runTests()from Apex. -
SOAP (AJAX) API End-of-Life Policy
See which SOAP API versions are supported, unsupported, or unavailable.
-
SOAP Header Options with the AJAX Toolkit
All header options in the SOAP API are supported in the toolkit, but they are specified differently than in the API.
-
Error Handling with the AJAX Toolkit
The AJAX Toolkit provides the ability to handle errors for synchronous and asynchronous calls.