UWS as a REST protocol

John Taylor jontayler at gmail.com
Sun Mar 4 12:01:23 PST 2007


On 4 Mar 2007, at 19:29, Matthew Graham wrote:

> Hi,
>
> Paul Harrison wrote:
>> On 26.02.2007, at 18:47, Guy Rixon wrote:
>>> I think REST usually wins for services that are (a) public facing  
>>> and and
>>> registered in our kind of registry; (b) client-server. In this  
>>> case, we've
>>> already decided that they have URIs and a calling pattern that  
>>> HTTP can
>>> support. If we had some new kind of service, perhaps a genuine  
>>> P2P messaging
>>> kind of thing, then we might find that SOAP-over-something-other- 
>>> than-HTTP was
>>> better than REST.
>>>
>>> If there arose a righteous SOAP toolkit that genuinely made SOAP  
>>> both easy and
>>> flexible, then maybe it would become better than REST in  
>>> practical terms. This
>>> hasn't happened yet.
>>>
>>
>> Well there is absolutely no REST toolkit at all - the fact that  
>> you can do anything you want in REST  is a weakness as well as a  
>> strength - horrible as it is, at least WSDL is a widely  
>> implemented and understood representation of the interface to a  
>> SOAP web service, and can be used to generate useable client and  
>> server code stubs.  -To achieve useful interoperability (without  
>> needing a standard for every new service) you need patterns in the  
>> REST services - e.g. the sort of thing that CEA attempts.
> 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. Guy's  
> REST interface for UWS is exactly the sort of thing we need to  
> achieve interoperability.


FWIW, there's also a JSR, fresh out last month:
http://jcp.org/en/jsr/detail?id=311


It'll be a year or so before it comes up with anything though.




More information about the grid mailing list