The Source for Java Technology Collaboration
User: Password:



Start New Message Post a Reply

Subject:  it won't be simpler
Date:  2007-02-22 02:11:20
From:  agoubard
Response to: it won't be simpler


Have a look at the Flickr API then. Also Yahoo! News

Well, I've looked at it and it's not REST. it's POX (Plain Old XML).
From the Flickr REST page: "REST is the simplest request format to use - it's a simple HTTP GET or POST action.". So you see they admit it themself.

As for
From the Yahoo News! page: "Most API requests will use GET. If the specific documentation requires POST, see the section on POST URL construction below.". Once again not REST, just POX.

One thing most folks fail to see if that browsers don't supprt WSDL or SOAP. A browser can use a RESTful Web Service as part of an AJAX-based web application. Can't quite do that with SOAP and have it work everywhere.

Indeed supporting SOAP for Web Browser is possible but complicated. REST would be a easier than SOAP. POX would be easier than REST. And JSON or JSON-RPC would be easier than POX for AJAX.

 Feed java.net RSS Feeds