Vivek Navadia
Vivek Navadia

Reputation: 574

Which one is best for Iphone REST API or SOAP?

I am working on iPhone Applications. Recently i have used SOAP api to integrate with iPhone application. my main aspect of this particular query is whether SOAP is best or REST is best considering performance issue as a iPhone application.

I have tried with SOAP, there will be frequent crashes happened to me. so is it better to use REST to overcome from such issues.

Currently my main concern is to achieve best performance in application and i am looking for such solution from you all.

Upvotes: 4

Views: 707

Answers (2)

Rohit
Rohit

Reputation: 3638

SOAP is bulky and heavy when compared to REST services.

Prefer REST as it is simple and very efficient.

Upvotes: 11

Max Brice
Max Brice

Reputation:

If you want to transfer data from web to your app, prefer JSON. It is faster and better than xml.

Upvotes: 0

Related Questions