On 04.03.2007, at 20:29, Matthew Graham wrote:
> Paul Harrison wrote:
> There are REST toolkits: Restlet (www.restlet.org), REST-art > (http://rest-art.sourceforge.net), and Cognitive Web (http:// > cweb.sourceforge.net) are just three such frameworks for REST > services. Also Axis2 and XFire provide support for REST web > services. As for producing client and server code stubs, we all > know that that is the source of most problems with SOAP web > services but I think what you really mean here is having code- > binding to object representations of the XML that is being passed > across and something like XMLBeans will have give you that.
What I meant was that there is no 'universally accepted' interface definition language for a REST service - the closest that there seems to be is that a client is expected to parse a html form to understand the possible arguments to a service (and nothing specifying what the outputs can be) - however, I think that most of the services that we want to offer have complexity beyond what is possible to represent merely in a form (though an xform might come closer to being sufficient)- WDSL perhaps could be used for REST service interface definition http://www.w3.org/TR/2006/CR-wsdl20-adjuncts-20060327/ #http-binding, but it seems that religious fervour in the REST community seems to equate WSDL with SOAP....
Of the toolkits that you mention -only the first seems to be a serious effort -roughly equivalent to the servlet api. They could be making the mistake that most of the SOAP toolkits made at the start - i.e being code-first, rather than contract-first, and the one thing that we have really learnt in trying to create web-services is that defining the interface contract first is extremely important if you want to achieve interoperability.
> Guy's REST interface for UWS is exactly the sort of thing we need > to achieve interoperability.
That I agree with - WS-Resource was a disaster for CEA - the REST interface for UWS follows the CEA pattern nicely. Received on 2007-03-05Z09:38:35