I know I’ve already mentioned it, but man I wish Google had a REST-style API. The new Yahoo web services are nice, and I’ve already been enjoying Amazon’s web services.
But, speaking of SOAP: For the sake of sanity, I’ve mostly been keeping my brain out of the tumult surrounding SOAP and WS-Tech. I was tracking things a few years ago, but have since wandered away.
I think I really need to dip into it again, though, because I catch myself regarding this behemoth of technologies as stupid and worthless–a reaction which I’ve been coming to consider as a red flag on my own ignorance, especially when there are a lot of smart people still seeing value in the same thing.
Part of it, I suspect, is that I tend not to use rich IDE’s on a daily basis, and I’m perfectly happy dealing with REST-style APIs using XPath to extract data and using DOM or string templates to send data. It seems so easy to me that I wonder just what I’m missing.
I’ve heard that SOAP and friends brings a lot of joy to people who can just drag-and-drop a schema or self-describing blob into their favorite tool and have all the webbish bits hidden behind native-looking calls and code. But, for the most part, I just don’t get it.
I don’t like working with Microsoft technologies much. However, it is what we use at work, between legacy ASP 3.0 pages and a smattering of .NET stuff we’ve been gradually phasing in.
One thing I do have to admit is satisfying, though, is using Windows Scripting Host with JScript to pry data out of Word documents and MSSQL tables to build a pile of XML documents–mostly because I didn’t think it would work.
-
About Me
Hi there! My name is Leslie Michael Orchard. I'm a serially enthusiastic, caffeine-dependent {web,mad,computer} scientist and {tech,scifi} writer working for the Mozilla Corporation and living near Ann Arbor / Detroit in Michigan.
-
Search
-
Buy my books
-
Related Posts
Most Commented Posts
- July 3, 2008 Getting Laconica up and running (90)
- June 16, 2008 Firefox 3 Download Day Mega Widget (56)
- December 3, 2004 If you snore, get tested for sleep apnea. Now. (41)
- March 4, 2003 Oh, I’m feeling lucky. (35)
- June 17, 2005 We’re engaged! (32)
- April 25, 2006 A Honeymoon in San Francisco (27)
- August 17, 2006 Don’t ask me who I am (24)
-
Tags
aggregators ajax apple atom books delicious entertainment feedmagick feeds firefox gaming hacking hacks identity ipod javascript js json links mashups metablogging microformats mozilla opml osx outliners php podcasting python rss scifi software syndication twitter web20 webdev webservices wordpress wow writing xml xoxo xoxooutliner xsl yahoo -
Recent readers
-
Archives
- April 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
- April 2004
- February 2004
- December 2003
- November 2003
- October 2003
- September 2003
- August 2003
- July 2003
- June 2003
- May 2003
- April 2003
- March 2003
- February 2003
- January 2003
- December 2002
- November 2002
- October 2002
- September 2002
- August 2002
- July 2002
- June 2002
- May 2002
- April 2002
- March 2002
- February 2002




8 Comments
Sometimes I wonder if it’s just the hacker mentality or instant gratification, but whenever I dig into SOAP, I get bored with it and want to move on. When I dig into a RESTful API like Yahoo! has, it’s so darn quick and easy to kick out an idea that it gets done before I ever get a chance to be bored with it. In fact, I get done, and am still excited about it!
SOAP by Example: http://www.intertwingly.net/stories/2002/12/20/sbe.html
Re: Google’s SOAP API vs a REST implementation, you might be interested in the XooMLe project, which is just that: a REST wrapper for the original API.
http://www.dentedreality.com.au/xoomle/
HTH, Cheers.
Manual trackback, re: working with Windows
http://therealadam.com/weblog/archives/2005/03/09/a-unix-expat-in-a-strange-land-of-windows/
I’ve never used REST, but I’ve lost all interest in the WS-* menagerie. This is a case of a standards body with a solution looking for a problem. IMHO, standards bodies are perfectly horrible sources of innovation.
First; build a prototype of a widget that solves a problem. Open source the widget. If the community decides the widget is good, then look to standardize the solution to the problem. The most importatnt part is the of software darwinism that is exerted by the developer community.
Les, what you’re missing about using REST is that tools vendors can’t target you. Hence no marketing and no IDEs. And, arguably, no advancement. Hey, one thing you -can- say about SOAP is that they just. keep. making. more. specs.
I don’t use SOAP much myself, but Macromedia embedded it pretty deeply into Coldfusion MX. The result is that SOAP services are ridiculously easy to deploy, because they’re built the same way you build everything else in CF.
For example, this is a local object definition with a single method:
<cfcomponent>
<cffunction name=”doFoo” access=”private”>
<cfargument name=”bar” type=”string” />
<cfreturn arguments.bar />
</cffunction>
</cfcomponent>
This is the same object, exposed as a SOAP service:
<cfcomponent>
<cffunction name=”doFoo” access=”remote”>
<cfargument name=”bar” type=”string” />
<cfreturn arguments.bar />
</cffunction>
</cfcomponent>
All that changes is the value of @access. No fiddling with the DOM required… the developer doesn’t even have to think about XML, since it’s all handled for her.
But then, if really bright people like Norm Walsh (”Mr. Docbook”) have trouble with WS-* (see his current blog thread on building a service) maybe there’s something to the theory that they are as broken as they look :-) I’m certainly regretting a project choice to use SOAP about 2 years ago; the APIs that are actually getting used now are HTTP (not-even-REST) shims that make the SOAP calls underneath, but http support works and is efficient in every language that anyone actually uses, which isn’t true of SOAP… I’m currently agitating for turning the stack inside out, and making the SOAP shims run on top of HTTP interfaces… and then give up on the SOAP parts if it turns out that they really get no developer traction. (Groove gets some blame for the SOAP hype, but it doesn’t seem to have resulted in any actual code for this app…)