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

Re: Web Services - what is the alternative? (was TAG on HLink)


error code 26
On Wed, Sep 25, 2002 at 09:05:43PM -0700, Bill Humphries wrote:
> On Wednesday, September 25, 2002, at 06:59 PM, Rob Griffin wrote:
> 
> >The first one accesses my mobile (cell) phone provider's web site 
> >using HTTP
> >and HTTPS to use a facility they offer where you can send an SMS from 
> >a web browser.
> >This involved grovelling through HTML to find the form tags to 
> >determine what
> >fields I needed to send and sniffing the data sent on the connection 
> >to see
> 
> However, I don't think that the example is a canonical example of a 
> REST application.

Certainly not! Though I can't claim to be a REST guru, I've been lurking
on the REST mailing list for several months, and I don't think anyone in
that community would advocate building applications based on
machine-processing HTML.
 
> If your SMS provider's interface had the capablity to 
> return status and error messages in XML, then your integration would 
> had been easier

That may be useful, but AFAIK it's not RESTful. HTTP provides a rich set
of error codes. The advantage of using them (as with the HTTP request
methods) is that they are standardized through a widely-deployed
protocol--and one whose various implementations are by and large
faithful to the spec. That substantially reduces the amount of
application-specific semantics you have to deal with, making for
loosely-coupled, easily interchangeable components.

-- 
Matt Gushee
Englewood, Colorado, USA
mgushee@h...
http://www.havenrock.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.