You need to sign in to do that
Don't have an account?
pureyang
Possible to load Enterprise WSDL dynamically?
I have a project that requires usage of the SOAP API and we have a requirement to dynamically load the list of fields on our custom object (lets call it Article__c).
From my understanding if tomorrow we add a field, lets say VoteCount this means we will need to redownload enterprise.wsdl and use WSC to generate a new enterprise.jar, recompile.
One possible solution might be to scrap this UR: https://instance.salesforce.com/soap/wsdl.jsp?type=*
Has anyone tried this?
Help/Insight, much appreciated.
Thanks,
-yang
Wny don't you use the partner API instead it was designed to handle more dynamic cases like this.
All Answers
Wny don't you use the partner API instead it was designed to handle more dynamic cases like this.
Whao Thanks!
Partner WSDL combined with Metadata API should do the trick.
Thanks for pointing me in the right direction.