Ok, you are right, but http is a very generic application layer, not to designed to serve specific application needs, but designed to serve web servers which only serve documents. As you know, a web server is a very generic application, which, from the time Http was designed, was only recource driven.
Maybe the error is that Rest uses a generic application layer which is defined as a resource driven application layer, but in fact Rest is used as a service oriented application protocol. I think that an OpenEhr kernel, or PayPal-service, or many other Rest using applications are also service oriented, not only resource oriented, and that therefor, a resource oriented error handling is unable to serve the needs of a service oriented application. You could call that misusing http, because it was not designed for that, but on the other hand, with some new thinking, Http can be used to serve a service oriented architecture. Or do you not agree with this statement? By the way, nowhere is written that Rest must use the Http status mechanism for communicating application needs. It is written that Rest must used http statuses for http-needs, and Restlet does do that. best regards Bert Op maandag 19 januari 2015 heeft Peter Gummer < peter.gummer at oceaninformatics.com> het volgende geschreven: > Bert Verhees wrote: > > The point for me is separation of transport layer and application >> layer, and each domain has its own errorhandling. >> > > > Hi Bert, > > HTTP is not a transport layer protocol: > > http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol > > ?The *Hypertext Transfer Protocol* (*HTTP*) is an application protocol > <http://en.wikipedia.org/wiki/Application_protocol> ?" > > Thanks for the discussion, though. I?ve learned a lot from it. > > Peter > -- *This e-mail message is intended exclusively for the addressee(s). Please inform us immediately if you are not the addressee.* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20150119/1b88e832/attachment.html>