Search code examples
iosjsonsoapwsdl

Should i use wsdl or json for my ios app?


I am writing an iOS app which will have to fetch some data from a server. Is it better to use WSDL and SOAP to get these data from a web service, or should i use JSON?


Solution

  • JSON is good if you don't have any security stakes. Otherwise, you should use a secured data exchange protocol like SOAP or maybe OAuth.