General Requests

This section describes additional requests that can be used to return information about Tamino databases.


Listing Databases served by the Web Server

To receive a list of the Tamino databases served by a web server on a given machine, issue a request via HTTP using the following URL structure:

http://HostName:PortNumber/tamino/list=databases

where HostName is the name of the machine where the web server is running, and PortNumber is the used port.

This will return a response document in which the names of the Tamino databases are listed in ino:database elements, for example:

<?xml version="1.0" ?> 
<ino:response xmlns:ino="http://namespaces.softwareag.com/tamino/response2">
  <ino:message ino:returnvalue="0">
    <ino:messageline>Processing list of databases</ino:messageline> 
  </ino:message>
  <ino:database>HospitalDB</ino:database> 
  <ino:database>MyDB</ino:database> 
  <ino:message ino:returnvalue="0">
    <ino:messageline>List of databases processed.</ino:messageline> 
  </ino:message>
</ino:response>

The list shows all databases that are known to the web server, namely:

  • all local databases (i.e. databases on the same machine as the web server), and

  • all active remote databases that use the same XTS directory server as the web server.