I need to implement a Web Service for Android App. Security is more important than other thing. What is more recomendable, SOAP or REST ?
Thanks a lot.
I need to implement a Web Service for Android App. Security is more important than other thing. What is more recomendable, SOAP or REST ?
Thanks a lot.
In my opinion securing your API has no connection to what you're serving up beneath it. You can secure it with OAuth, your own two-step auth, simple API tokens - however you please.
My personal preference is REST-ful APIs that understand JSON. XML, if need be. SOAP is very versatile, but I find it extremely cumbersome to setup and consume.
I think this might be helpful : Secure Web Services: REST over HTTPS vs SOAP + WS-Security. Which is better?
On a side note, at least for me, REST is a better choice in terms of coding and response times.