WebDAV
This page is part of the Developer Section. It describes how to use the WebDAV implementation of BaseX.
BaseX offers access to the databases and documents using the WebDAV protocol. WebDAV provides convenient means to access and edit XML documents by representing BaseX databases and documents in the form of a file system hierarchy.
Starting WebDAV
The WebDAV implementation of BaseX is provided by a module (servlet) which runs in the BaseX HTTP server. Please check the Startup: BaseX HTTP Server page for details on how to start the HTTP Server. The WebDAV service can either use the local databases or connect to a remote BaseX Server, as described in the startup options page.
Accessing WebDAV
The BaseX WebDAV Server can be accessed using either with a http://<httphost>:<httpport>/webdav/
or webdav://<httphost>:<httpport>/webdav/
URL, depending on the used WebDAV client. By default, after
starting the HTTP server, the following URL will be provided: http://localhost:8984/webdav/
.
Authorization
The WebDAV service uses the database user credentials in order to perform authentication and authorization. If database user and password are explicitly specified when starting the BaseX HTTP Server using the corresponding startup options, WebDAV will not request additional user authentication from the client.
WebDAV Clients
Please check out the following tutorials to get WebDAV running on different operating systems and with oXygen: