Mark Watson's Blog
I am the author of 13 published computer books and a consultant specializing in Java, C++, and Smalltalk development. Please check out my two Free Web Books at my main site www.markwatson.com

 



Subscribe to "Mark Watson's Blog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 

 

  Tuesday, November 26, 2002


REST, an alternative to SOAP

Hopefully, everyone knows what these acronyms stand for:

SOAP = Simple Object Access Protocol

REST = REpresentational State Transfer

First, SOAP is a protocol while REST is an architecture concept for using URIs to access web services.

Now, I use SOAP and like it, but it is not always so convenient. A case in point: Amazon offers both SOAP and what they call "XML over HTTP" interfaces to their web services. Their "XML over HTTP" is, in essense, REST. Their "XML over HTTP" is extremely easy to use from any programming language - no SOAP libraries are required: just do a HTTP GET with a URI for the service query, and parse the returned XML document.

When using REST to make an RPC type call to a web service, both the method name and arguments are encoded in the URI. To me, this seems very much more tidy (as well as simpler to use!) that building a SOAP request envelope, etc.
11:39:59 AM    


My previous bosses hit it big!

A tip of the hat to my old bosses at Angel Studios! My Dad just sent me an article from the San Diego Union about Angel Studios selling themselves (but they will still be a fairly autonomous game developer) to Take Two, the developers of the game series.

I spent a really fun 18 months at Angel Studios (working on 2 Nintendo U64 games, a VR thing for Disney, and a Hovercraft PC game) before my wife and I packed up and moved to the mountains of Northern Arizona.

Anyway guys, well done!
10:18:59 AM    



Click here to visit the Radio UserLand website. © Copyright 2003 Mark Watson.
Last update: 9/16/03; 7:34:12 AM.

November 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Oct   Dec