Activity - deliverFromGDT

Activity Type: Delivery

Description

Retrieve data from another OGSA-DAI service which implements the OGSA-DAI data transport operations via invocation of its GetFully, GetNBlocks or GetBlock operations.

This activity inputs data from a corresponding outputStream activity in the other service.

deliverFromGDT and outputStream

Connecting deliverFromGDT and outputStream activities

Example

<deliverFromGDT name="retrieve">
  <fromGDT streamId="sessionID:outputStreamID" resourceName="MySQLResource"
    mode="full">
    http://host:port/path/DataService
  </fromGDT>
  <toLocal name="dataSink"/>
</deliverFromGDT>
<deliverFromGDT name="retrieve">
  <fromGDT streamId="sessionID:outputStreamID" resourceName="MySQLResource"
    mode="block" numberOfBlocks="25">
    http://host:port/path/DataService
  </fromGDT>
  <toLocal name="dataSink"/>
</deliverFromGDT>

Specification

Element deliverFromGDT:

Specifying message level security (WSRF version only)

Message level security can be used to secure the communcation between the two OGSA-DAI servers. To specify that message level security is to be used an additional GSISecureConversation element should be included in the activity specification. For example:

<deliverFromGDT name="retrieve">
  <fromGDT streamId="sessionID:outputStreamID" resourceName="MySQLResource"
    mode="full">
    http://host:port/path/DataService
  </fromGDT>
  <toLocal name="dataSink"/>
  <GSISecureConversation
    protectionLevel="integrity" 
    authorization="host" />
</deliverFromGDT>

The protectionLevel attribute specifies the GSI protection level to be used. It can take the following values:

The authorization attribute specifies the type of authorization the activity should peform on the remote service. It can take the following values:

When using message level security the client's credential will be used when the activity accesses the remote OGSA-DAI service. It is therefore essential that the client's credential is delegated to the activity. A delegation value of 'limited' or 'full' must threfore be specified in the client's security descriptor.

Input and Output Types

Data Resource Accessor

This activity can operate with any data resource accessor.

XML Schema

OGSA-DAI/schema/ogsadai/xsd/activities/deliver_from_gdt.xsd

Class

uk.org.ogsadai.activity.delivery.wsrf.DeliverFromGDTActivity

Client Toolkit Class

uk.org.ogsadai.client.toolkit.activity.delivery.DeliverFromDT