4 ms·
My view: SOAP is for people who bought the "XML is the universal language" line of bullshit. REST is for people who know how HTTP actually works.
by inklesspen 19y ago
My view:
SOAP is for people who bought the "XML is the universal language" line of bullshit.
REST is for people who know how HTTP actually works.
- chrisbroadfoot 19y ago+1 That's not to say that there needs to be a war, there's no reason why both can't be implemented, though REST is definitely (as you assert) suited to HTTP.
- johnm 19y agoNaw. The de facto paylod for RESTful services are XML. Though, yes, that is called the POX (Plain Ol' XML) on REST. REST is the only thing that has been actually proven to work at internet scale. SOAP is just the latest version of CORBA, for the web.
- inklesspen 19y agoReally? I've seen an awful lot of JSON services.
- johnm 19y agoJSON is the "new hotness" for a lot of people but the default is still XML. Also, note that depending on what format the underlying data is in, using JSON can actually be worse for performance than POX (escaping, etc.).