How to Configure a MarkLogic Connection

Available in the Enterprise edition only.
Note: Oxygen XML Developer supports MarkLogic version 4.0 or later.
The steps for configuring a connection to a MarkLogic database are the following:
  1. Go to menu Preferences > Data Sources.
  2. Click the New button in the Connections panel.
  3. Enter a unique name for the connection.
  4. Select one of the previously configured data sources from the Data Source combo box.
  5. Fill-in the connection details.
    1. The host name or IP address of the installed MarkLogic engine in the XDBC Host field.
      Oxygen XML Developer uses XCC connector to interact with MarkLogic XDBC server and requires the basic authentication schema to be set. Starting with version MarkLogic 4.0 the default authentication method when you create a HTTP or WebDAV Server is digest, so make sure to change it to basic.
    2. Set the port number of the MarkLogic engine in the Port field. A MarkLogic XDBC application server must be configured on the server on this port. This XDBC server will be used to execute XQuery expressions against the server. Later on, if you want to change the XDBC server, instead of editing the configuration just use the Use it to execute queries action from Data Source Explorer.
    3. Set the user name to access the MarkLogic engine in the User field.
    4. Set the password to access the MarkLogic engine in the Password field.
    5. Optionally set the URL used for browsing the MarkLogic database in the Data Source Explorer view in the WebDAV URL field.
      The Database field specifies the database over which the XQuery expressions are executed. In case you set this option to default, the database associated to the application server of the configured port is used.
  6. Click the OK button to finish the connection configuration.