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
Shankar RaoShankar Rao 

WSDL file has to be downloaded every time, new custom field or object is created ..?

I'm using soap api's in my java code to extract salesforce data. But when a new custom field is added to an object i am not able to extract data from that entity. The same code works if I download the new .wsdl

 

Is there a way in which i dont have to download .wsdl everytime a new custom field or object is added..?

Best Answer chosen by Admin (Salesforce Developers) 
SuperfellSuperfell

The partner API lets you build clients that are more dynamic and metadata driven, take a look at switching from the enterprise API to the partner API.

All Answers

SuperfellSuperfell

The partner API lets you build clients that are more dynamic and metadata driven, take a look at switching from the enterprise API to the partner API.

This was selected as the best answer
AlexHt1AlexHt1
I do not experience this issue with the enterprise wsdl. New fields are not accessible until I create a new wsdl, but old ones remains accessible and apps are not broken by adding a field to an object.