Data Services

A data service is a point of contact for clients who wish to access, query or update a data resource, or perform other data-related actions using OGSA-DAI. A data service offers a document-oriented interface which accepts OGSA-DAI perform documents from clients and returns response documents to clients. A data service may typically offer other OGSA-DAI operations, for example data transport-related operations.

A data service exposes 0 or more data service resources which are described here.

A data service provides a number of operations which allow information about the service to be retrieved and also provides access to the data service resources exposed by that data service.

Some operations are targetted at the service. Most however will be targetted at a particular resource exposed by the service. How this resource is identified is specific to the version of OGSA-DAI:

Data services are intended to be long-running.

Data Operations

The Perform Operation

This operation is directed at a specific data service resource and is the key OGSA-DAI operation provided by a data service.

This operation provides a document-oriented interface for database requests in which perform documents are used by clients to specify activities on the data resources and data managed by a specific data service resource. The status of the operations, delivery locations and, often, data itself, is returned to a client in a response document.

The Terminate Operation

This operation is a place holder for future development. It currently does nothing.

The PutFully Operation

This operation is directed at a specific data service resource and supports data delivery between data services and clients. The operation puts a complete set of data onto a specific input stream of a specific session known to the data service resource.

The PutBlock Operation

This operation is directed at a specific data service resource and supports data delivery between data services and clients. The operation puts a block of data - part of a larger set - onto a specific input stream of a specific session known to the data service resource.

The GetFully Operation

This operation is directed at a specific data service resource and supports data delivery between data services and clients. The operation gets (or pulls) a complete set of data from a specific output stream of a specific session known to the data service resource.

The GetNBlocks Operation

This operation is directed at a specific data service resource and supports data delivery between data services and clients. The operation gets (or pulls) a specific number of blocks of data - part of a larger set - from a specific output stream of a specific session known to the data service resource.

The GetBlock Operation

This operation is equivalent to calling GetNBlocks where the number of blocks requested is 1.

Property and State Operations

The GetResourceProperty Operation

This operation is directed at a specific data service resource - and can be used to get a named property of a data service resource.

The GetMultipleResourceProperties Operation

This operation is directed at a specific data service resource and can be used to get a set of named properties of a data service resource.

The QueryResourceProperties Operation

This operation is directed at a specific data service resource - and can be used to run an XPath query over the properties of a data service resource.

This operation is not supported in OGSA-DAI WSI.

Service Operations

The ListResources Operation

This operation is not specific to a data service resource but is an operation belonging to the service. It allows a client to get the IDs of all the data service resources currently known to the service.

The GetVersion Operation

This operation is not specific to a data service resource but is an operation belonging to the service. It allows a client to get a string indicating the flavour and version of OGSA-DAI from which the service was produced.