Re: WebDAV effeciancy
Elias Sinderson <elias <at> cse.ucsc.edu>
2003-06-17 21:06:03 GMT
B. Shadgar wrote:
>[...] many functionality of the WebDAV can be implemented by HTTP POST method, Soap and so on ( as you
>mentioned like Microsoft FrontPage). So if the security is the same and if the speed may be low (not sure),
why would the user choose WebDAV rather HTTP?
>
I'm actually implementing a SOAP-WebDAV proxy service that provides
WebDAV functionality to clients that do not speak WebDAV, yet have a
HTTP stack and can do XML processing (and, hence, SOAP as well). I'll be
running some performance tests and can send them to you when they're
available if you're still interested. Ignoring the performance issue
momentarily, however, there are several reasons one should use WebDAV
over HTTP POST, SOAP, and cetera. Without digressing into a full
discussion of architectural styles and ideals not appropriate for this
forum, I'll summarize what I feel is the main consideration.
One of the reasons that the web has been so successful is that, at the
protocol level, there is a standardized interface for interacting with
web resources. WebDAV has extended the HTTP protocol to provide
functionality necessary for distributed and collaborative authoring.
SOAP breaks this genericity of interface by allowing arbitrary methods
with arbitrary functionality to be exposed as a web service. So, while
it is possible to provide WebDAV-like functionality using SOAP, there is
no guarantee of interoperability between clients and servers taking this
approach. Another, somewhat lesser, concern has to do with the opacity
of URLs. A SOAP based web service that provides WebDAV functionality is
essentially manipulating web resources indirectly; behind the scenes, as
it were, so the resource you would address a PROPPATCH to isn't the same
resource that you would address a GET to, even though you are intending
(Continue reading)