[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

What does SOAP really add?

  • To: xml-dev@l...
  • Subject: What does SOAP really add?
  • From: "Simon St.Laurent" <simonstl@s...>
  • Date: 21 Apr 2002 14:14:09 -0400

soap rpc vs document
I started to write this as a reply to Paul's insightful comments on the
difficulties of statefulness in SOAP/WSDL, but realized after a while
that the question's a little simpler.

When I first saw SOAP, I pretty much saw it through the eyes that
XML-RPC had trained - as a more powerful mechanism for accessing APIs
through Remote Procedure Calls (RPC).  While I have some fondness for
XML-RPC when used in relatively simple and small environments, I have
deep qualms about using RPC in general on any large scale over any long
period of time.  RPC is brittle, breakable, etc. - we've been over that
before.

Now I'm seeing comments like Adam Bosworth's piece in the newly-titled
"XML & Web Services Magazine".
(http://www.fawcette.com/xmlmag/2002_04/magazine/departments/endtag/)
------------------
Loose coupling is central to the nature of Web services-based
application integration. That's why it seems to me that the right model
for XML in Web services is a message-oriented, document-based one rather
than one based on remote procedure calls.
------------------

Okay, so we agree. But this leaves me asking what exactly SOAP brings to
the party.  

I have a hard time believing that wrapping envelopes around my content
genuinely blesses it, or that liberal use of xsi:type is that helpful,
or that using elements with unqualified names inside of elements with
qualified names makes the slightest bit of sense.  SOAP's restraints on
XML features may make some people shiver slightly less, and maybe
there's a notion of a framework worth discussion, but to be honest, I
can't see any real benefit. A vocabulary for fault codes? (Okay, a
second wave of hype.)

WSDL is, to me, more interesting than SOAP, but not any prettier.

I think that in the end I'm asking whether SOAP has any real added
value, apart from its most frequently disclaimed but still most popular
use: RPC over HTTP.

I read the specs, I look over the examples, and I shake my head.  I gave
up arguing on xml-dist-app long ago because no one seemed to be asking
the same kinds of questions.  Now I wonder if maybe I should just wait
for the Web Services hype to fade, and hope that XML (with REST, or
something similar) gets a second chance afterward.

-- 
Simon St.Laurent
Ring around the content, a pocket full of brackets
Errors, errors, all fall down!
http://simonstl.com


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.