SQL Multiple Data Resource Configuration Document

SQL multiple data resource accessor configuration involves specifying information about the data service resources that can be contacted though the data service resource that is based on the SQL multiple data resource accessor implementation. For each one of the data service resources being contacted it includes the name of the data service resource, the URL of the data service that is is being exposed to, a description of the data service resource that it exposes, and the default and maximum timeouts. Configuration is done using a multiple data resource configuration document.

Data resource configuration documents are written by OGSA-DAI service deployers.

An SQL multiple data resource configuration document includes information on the following:

For the remainder of this page we give an overview of the general format of the SQL multiple data resource configuration document used by a SQL multiple data resource accessor.

Example

<?xml version="1.0" encoding="UTF-8"?>
<multipleDataResourceConfig
  xmlns="https://ogsadai.org.uk/namespaces/2005/10/config"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="https://ogsadai.org.uk/namespaces/2005/10/config
  file:///C:/jakarta-tomcat-5.0.28/webapps/axis/schema/ogsadai/xsd/
  multiple_data_resource_config.xsd">

  <unitDataServiceConfig>
    <dataServiceURL>
      http://localhost:8080/axis/services/ogsadai/TestService
    </dataServiceURL>
    <dataResourceName>DataServiceResource</dataResourceName>
    <defaultTimeOut>120000</defaultTimeOut>
    <maximumTimeOut>600000</maximumTimeOut>
    <dataResourceDescription>From local DB</dataResourceDescription>
    <globalSchema></globalSchema>
  </unitDataServiceConfig>
  <unitDataServiceConfig>
    <dataServiceURL>
      http://localhost:8080/axis/services/ogsadai/TestService
    </dataServiceURL>
    <dataResourceName>ToKostasServiceResource</dataResourceName>
    <defaultTimeOut>120000</defaultTimeOut>
    <maximumTimeOut>600000</maximumTimeOut>
    <dataResourceDescription>From remote DB</dataResourceDescription>
    <globalSchema></globalSchema>
  </unitDataServiceConfig>
</multipleDataResourceConfig>

Specification

Element multipleDataResourceConfig:

XML Schema

OGSA-DAI/schema/ogsadai/xsd/multiple_data_resource_config.xsd