Skip to main content
I'm using Salesforce.com Enterprise Web Services API Version 30.0, generating a wsdl file and trying to create a Salesforce Contact (the standard type) from my web service. LastName is required on Contacts, so natrually I'm setting LastName in my code before making the "create" service call. However, the result of the call always returns with an error stating that LastName is a required field and is missing. I am 100% sure that I am setting the field. Does anyone know why the service call would claim the field isn't set when it clearly is?

 

I don't have any custom fields and I haven't added any custom validation rules.
3 Antworten
  1. 27. Juni 2014, 05:43
     I resolved this issue by copying over the generated XmlSerializers.dll to my project, which I had fogotten to do before.