xml - SOAP or REST for Web Services? -


is rest better approach doing web services or soap? or different tools different problems? or nuanced issue - is, 1 better in arenas another, etc?

bounty-edit:

now, 3 years later ask question again - offering bounty encourage indepth answer. appreciate information concepts , relation php-universe , modern high-end web-applications.

i built 1 of first soap servers, including code generation , wsdl generation, original spec being developed, when working @ hewlett-packard. not recommend using soap anything.

the acronym "soap" lie. not simple, not object-oriented, defines no access rules. is, arguably, protocol. don box's worst spec ever, , that's quite feat, he's man perpetrated "com".

there nothing useful in soap can't done rest transport, , json, xml, or plain text data representation. transport security, can use https. authentication, basic auth. sessions, there's cookies. rest version simpler, clearer, run faster, , use less bandwidth.

xml-rpc defines request, response, , error protocols, , there libraries languages. however, xml heavier need many tasks.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -