We have a Salesforce custom webservice; this custom webservice is consumed by an external application.
This custom webervice supports an upsert on Contact object and the source application is trying to make the middle name blank in Salesforce using custom upsert.
Below is a sample code which we are using in our custom webservice class:
Contact cnt=new Contact();
Error: Compile Error: Method does not exist or incorrect signature: void setFieldsToNull(List) from the type Contact
Can anyone please let us know, how do we make Salesforce to update null values through custom webservice.