Hi All,
I have used the salesforce wsdl file to create web service connectors. The API documentation for version 7.0 specifies the following steps to update an Object.
1.Determine the ID of each object that you want to update. For example, you might call query to retrieve a set of objects (with their IDs), based on specific criteria, that you would want to update. If you know the ID of the object that you want to update, you can call retrieve instead. For information on IDs, see ID Fields.
2.For each object, populate its fields with the data that you want to update.
3.Construct an sObject array and populate that array with the objects that you want to update. All objects must be of the same object.
4.Call update, passing in the sObject array.
5.Process the results in the SaveResult object to verify whether the objects have been successfully updated
I can successfully use the “retrieve” service but while I try to update the Information rerieved using the “update”, I am facing problems.
I could not find any documentation which explains how to create sObject array or just a single sObject as asked in step 3 above.
This is causing problems while calling the “update” service with the results obtained from the “retreive” service.
The message that I get is “INVALID_TYPE: Must send a concrete entity type”
Please let me know as of what is the correct way to use these APIs together.
Thanks in advance.
#Integration-Server-and-ESB#webMethods#Adapters-and-E-Standards