How to Configure a BaseX Connection
To configure a BaseX connection, follow these steps:
- First of all, make sure the BaseX HTTP Server is started. For details about starting the BaseX HTTP server, go to http://docs.basex.org/wiki/Startup#BaseX_HTTP_Server. The configuration file for the HTTP server is named .basex and is located in the BaseX installation directory. This file helps you to find out which port the HTTP server using. The default port for BaseX WebDAV is 8984.
- To ensure that everything is functioning, open a WebDAV URL inside a browser and check
to see if it works. For example, the following URL retrieves a document from a database
named TEST:
http://localhost:8984/webdav/TEST/etc/factbook.xml
. - Once you are sure that the BaseX WebDAV service is working, you can configure the WebDAV
connection in Oxygen XML Developer as described in How to Configure a WebDAV Connection. The WebDAV URL
should resemble this:
http://{hostname }:{port}/webdav/
. If the BaseX server is running on your own machine and it has the default configuration, the data required by the WebDAV connection is:- WebDAV URL:
http://localhost:8984/webdav
- User:
admin
- Password:
admin
- WebDAV URL:
- Once the WebDAV connection is created, to view your connection, go to the Data Source Explorer view (if the view is not displayed, it can be opened by selecting it from the or switch to the menu)Database perspective.