Do’s and Don’ts
Set Salesforce.com API Version Number of the Apex class to 28.0
Do not modify the input parameter
Do not modify the values in an existing map. Always create a new map with the same keys and updated values. See Sample Web Service for Updating Detail Records for illustration
Do not modify / add values as key-value pair in internal types such as INTF_Records. Always use Subject or list of Subject for DML operations
Use INTF_Pagedata structure’s INTF_Response members success (true/false) and message (string message) to communicate web service execution status. See section INTF_Response class for more details
The method which is invoked in the web service configured must have the request parameter named as request
Was this helpful?