At one time SOAP wasn't too bad, until it tried to solve a lot of complicated problems (via WS-*), and in the process made the simple problems complex. Contrast this with HTTP which is being used for ever-more complex problems yet is really no more complicated in the simple case than it was in 2000. This seems like an important principle in protocol design.
SOAP: The 'S' stands for simple (not really)
31–40 of 92 posts
Re: SOAP: The 'S' stands for simple (not really)
#32Why did SOAP win, and XMLRPC not win?
Re: SOAP: The 'S' stands for simple (not really)
#33Why did SOAP win, and XMLRPC not win?
From my experience back at the beginning -- XML-RPC was slightly underspecified, and would have used a bit more of a firm hand about clarification of what was legal and what wasn't. SOAP was wildly overspecified and complexified to the point that you needed an army of consultants. Which is just perfect for enterprisey stuff, since you conviently have an army of consultants that need to have something to do.
IMHO, XMLRPC inhabited a middle ground that was washed away by REST and ajax/json type interfaces. It's an extra bit of complexity that's just not all that popular now, rather than a stunningly less complicated version of SOAP.
Re: SOAP: The 'S' stands for simple (not really)
#34Must be ~5 years since I last used SOAP. Needless to say I hated the stuff. Complex to build, complex to use (interoperability between different stacks - java/.net/... - was like 'cross your fingers and hope for the best'), complex to debug and walk through tcpdump network packets. It's complex in every way but the name. Of course, since that times I've alway advised against web services and so far I've succeeded in…
I'm being asked to create webservices so other developers don't do direct database access and their stuff wont break when things change. How do you manage that?
The payload is JSON over HTTP.
Re: SOAP: The 'S' stands for simple (not really)
#35Must be ~5 years since I last used SOAP. Needless to say I hated the stuff. Complex to build, complex to use (interoperability between different stacks - java/.net/... - was like 'cross your fingers and hope for the best'), complex to debug and walk through tcpdump network packets. It's complex in every way but the name. Of course, since that times I've alway advised against web services and so far I've succeeded in…
I'm being asked to create webservices so other developers don't do direct database access and their stuff wont break when things change. How do you manage that?
JSON over REST seems to be flavour of the month FWIW.
Re: SOAP: The 'S' stands for simple (not really)
#36Why did SOAP win, and XMLRPC not win?
Re: SOAP: The 'S' stands for simple (not really)
#37Re: SOAP: The 'S' stands for simple (not really)
#38Re: SOAP: The 'S' stands for simple (not really)
#39REST is an architectural style there is no spec, just a idea! Added to that most folk also only build REST-like services.
Implementing a client for REST based services often requires a bunch of (generally simple) coding which takes time and is error prone.
Also pure REST is really good for building data access/CRUD services but makes it hard to build RPC type services without mangling the semantics.