Skip to main content
Kevin Andrews 님이 #Customer Service에 질문했습니다
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개
  1. 2014년 6월 27일 오전 5:43
     I resolved this issue by copying over the generated XmlSerializers.dll to my project, which I had fogotten to do before.