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
iambismarkiambismark 

Calling SOAP API with iOS SDK

Is there a way to call a SOAP API method (convertLead in particular) using the iOS SDK?

DevAngelDevAngel
You might be able to use code from the old sdk, it was built pre-rest.
DevAngelDevAngel

I have some code called zkforce that is objective-c for the SOAP API. It's not supported, or documented, but I'm happy to share. For one call it might be over kill.

Pat PattersonPat Patterson

I just looked at the old SDK (zkSforce) and unfortunately, convertLead is among the unsupported methods.

 

You would probably be able to load the Force.com SOAP API WSDL into a general purpose iOS SOAP library - there are a few (Google search for 'ios soap client'), but I haven't used any of them, so I can't give you a recommendation.

 

Cheers,


Pat