function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Can't update Address field on Lead with SOAP v31.0

When I'm trying to Insert a Lead with an Address field, or update Address field on the Lead I'm getting the following error: 
A first chance exception of type 'System.Web.Services.Protocols.SoapHeaderException' occurred in System.Web.Services.dll

Additional information: Unable to create instance of the deserializer shared.xml.soap.serialization.BeanDeserializer for type: class common.api.soap.wsdl.Address and element: null Error Id: 628527420-103086 (1031368374)

I was surprised that the Address fields comes up in WSDL as a separate field, not as MailingStreet, MailingCity, etc. set of fields. Is that a change in v31.0 that has not been implemented correctly?
Phillip SouthernPhillip Southern
Hi, Address is a compounded can read and filter by it but you can't write to it.

See Address on this:
Yeah, that's what it always used to be. But now in v31 Address comes up in the results of a GetDescribe call as a separate field, not as a collection of simple fields. So I was wondering if they implemented some logic to parse address strings... Anyways, thanks for the info!