Activity - deliverToGDT

Activity Type: Delivery

Description

Deliver data to another OGSA-DAI service which implements OGSA-DAI data transport operations via invocation of its PutFully or PutBlock operations.

This activity outputs data to a corresponding inputStream activity in the other service.

deliverToGDT and inputStream

Connecting deliverToGDT and inputStream activities

Example

<deliverToGDT name="delivery">
  <fromLocal from="dataSource"/>
  <toGDT streamId="sessionID:inputStreamID" resourceName="MySQLResource"
    mode="full">
    http://host:port/path/DataService
  </toGDT>
</deliverToGDT>

Specification

Element deliverToGDT:

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:

<deliverToGDT name="delivery">
  <fromLocal from="dataSource"/>
  <toGDT streamId="sessionID:inputStreamID" resourceName="MySQLResource"
    mode="full">
    http://host:port/path/DataService
  </toGDT>
  <GSISecureConversation
    protectionLevel="integrity" 
    authorization="host" />
</deliverToGDT>

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_to_gdt.xsd

Class

uk.org.ogsadai.activity.delivery.wsrf.DeliverToGDTActivity

Client Toolkit Class

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