Adapter for Salesforce 8.2 | webMethods Adapter for Salesforce Documentation | webMethods Adapter for Salesforce Installation and User’s Documentation | Logging and Exception Handling | Adapter for Salesforce Exception Handling
 
Adapter for Salesforce Exception Handling
Exceptions raised by the adapter will contain the SOAP fault errors that Salesforce.com returns in its error stack.
The Force.com Web services API calls provides the following types of error handling:
*For errors resulting from badly formed messages, failed authentication, or similar problems, the Force.com Web services API returns a SOAP fault message with an associated Exception Code.
*For most calls, if the error occurs because of a problem specific to the query, the API returns an Error. For example, if a create request contains more than 200 objects, the API returns an Error.
For more information about Salesforce.com error handling, see the Force.com Web Services API Developer's Guide.
When creating a flow or Java service that incorporates an adapter service, you might want to build logic into the wrapping service to catch and handle exceptions.