You need to sign in to do that
Don't have an account?
eric_falsken
SoapHeaderException when updating/creating Lead objects
This just started in the last few days, and I've got no clue as to what is causing it:
This is truly annoying. The code above is generated by Visual Studio from the Enterprise API WSDL file that I downloaded.Could not resolve ColumnType from FieldOrColumnCommon: class common.udd.impl.StandardFieldCommonImpl
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Services.Protocols.SoapHeaderException: Could not resolve ColumnType from FieldOrColumnCommon: class common.udd.impl.StandardFieldCommonImpl
Source Error:
Line 629: [return: System.Xml.Serialization.XmlElementAttribute("result")] Line 630: public SaveResult[] update([System.Xml.Serialization.XmlElementAttribute("sObjects")] sObject[] sObjects) { Line 631: object[] results = this.Invoke("update", new object[] { Line 632: sObjects}); Line 633: return ((SaveResult[])(results[0]));
eric_falsken
Turns out that this wonderful error is given when you specify a value for a calculated field like "Lead.Name". Make sure that your calculated fields are either unspecified or null when calling Create or Update.