+ Start a Discussion

Calling SOAP API with iOS SDK

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

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

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.