


XML-RPC vs. SOAP: An Overview 13
masukomi writes: "After watching a recent discussion where someone wondered what the difference was between XML-RPC and SOAP and which to use I set about answering this question for myself. The result was this basic overview of the two protocols (also in acrobat format)."
W3C ratification (Score:3, Insightful)
SOAP also isn't that hard to use -- using a package prevents you from ever having to look at the wire protocol. SOAP::Lite makes using SOAP completely trivial.
Re:W3C ratification (Score:1)
Re:W3C ratification (Score:1)
Re:W3C ratification (Score:2)
Re:W3C ratification (Score:3, Insightful)
And, since the standard isn't complete but people are implementing it, it probably won't be any more standard than old-fashioned RPC, where everybody extended it and such to build your own standard. (i.e. DCOM is technically an implementation of RPC, but not really)
What's most likely to happen is that nobody will win. MS people will use MS's purposefully broken SOAP implementation, some others will use real SOAP, and others will just use XML-RPC.
Which will eliminate many of the supposed advantages of any of the protocals.
Re:Text size (Score:1)
hmm... (Score:2)
I think the advocacy is pretty clear here. Not saying that XML-RPC isn't better, but ummm, I'd like to make the choice. I could easily find some SOAP advocate that could easily draw up a comparison and counterpoint most of what the author feels is strength in XML-RPC...something like
"XML-RPC documentation is very sparse and if you ask me, it is not flexible in the enterprise environment as it doesn't allow user-defined types"
"XML-RPC has not at this point shown any interest in becoming an stable industry standard by submitting itself to the peer-review of w3c"
If you are going to write a "this vs. this REFERENCE", then leave the advocacy out. It just complicates things. If XML-RPC is better, let the reader decide. If this is an editorial, then don't bill it as an overview.
If i wanted to read "documentation" ladled with advocacy, there are plenty of
Real life use... (Score:2)
Re:Real life use... (Score:2)
Aaah, but that's NOT true. For starters XML-RPC uses an EXTREMELY stripped down XML for encapsulation, using no attributes. SOAP requires an XML parser capable of understanding attributes and namespaces.
Furthermore XML-RPC is far easier to implement as a CGI-type application, because it requires no information from the HTTP headers. SOAP requires a SOAP-Action header to tell it what to do.
SOAP and XML-RPC are only trivial if your language happens to have a compliant (but not quiet, because these do not use valid XML documents) XML parser library too. And those aren't as common as some people think.
But I will agree that the XML-RPC spec is inconsistent!
Re:Real life use... (Score:2)
The point being (which you seem to have missed), XML-RPC is as easy as SOAP from the user's perspective, not from the developer's perspective.
xml-rpc: no unicode (Score:3, Insightful)