-3

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.

Gabe Sechan
  • 90,003
  • 9
  • 87
  • 127
user2183448
  • 783
  • 1
  • 5
  • 7

2 Answers2

2

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.

jlindenbaum
  • 1,891
  • 18
  • 28
1

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.

Community
  • 1
  • 1