With Winter '16 starting to appear on Sandboxes I've started encountering problems with the Partner SOAP API.
The initial problem is around the new soapType
enumeration values. In particular <enumeration value="urn:SearchLayoutFieldsDisplayed" />
.
This soapType
comes back from a call to describeSObjects
with the sObjectType of "SearchLayout" for the "Fields Displayed" field.
Making the call against API v34.0 returns a field with this soapType. This in turn causes problems for the, in my case, .NET code that processes the SOAP XML response into strongly typed objects. This soapType isn't known or valid in v34.0 and results in an error:
System.InvalidOperationException: There is an error in XML document (1, 2239646). --->
System.InvalidOperationException: Instance validation error: 'urn:SearchLayoutFieldsDisplayed' is not a valid value for soapType.
Rolling forward to v35.0 of the Partner SOAP WSDL resolves the problem, but restricts the code to calling orgs that have been upgraded to Winter '16.
Should using v34.0 of the Partner API only return results that can be handled by the corresponding WSDL?
Edit - Raised as support case 12544039