Name

GetDataSourceResource

Synopsis

  • An activity that obtains a data source resource proxy that can be used to communicate with remote data source resources. This activity is typically used to produce a proxy that is then configured, using another activity, to apply the appropriate security requirements and then used by a third activity to communicate with the remote server.
  • Activity Name as exposed by OGSA-DAI: uk.org.ogsadai.GetDataSourceResource.
  • Server class: uk.org.ogsadai.activity.delivery.GetDataSourceResource.
  • Client toolkit class: uk.org.ogsadai.client.toolkit.activities.delivery.GetDataSourceResource.

Description

Inputs:

  • url. Type: link java.lang.String. The URL of the remote OGSA-DAI data source service.
  • resourceID. Type: link java.lang.String. The resource ID of the remote OGSA-DAI data source resource.

Outputs:

  • resource. Type: uk.org.ogsadai.client.toolkit.DataSourceResource. The proxy that can be used to communicate with the remote data source resource.

Configuration parameters:

  • dai.server.class. Class name of the server class to use. If specified, this class must implement the interface uk.org.ogsadai.client.toolkit.Server. If not specified the default class uk.org.ogsadai.client.toolkit.ServerProxy. For an Axis installation the recommended server class is: uk.org.ogsadai.client.toolkit.presentation.axis.AxisServer. For a Globus Toolkit installation the recommended server class is: uk.org.ogsadai.client.toolkit.presentation.gt.GTServer.

Activity input/output ordering: none.

Activity contracts: none.

Target data resource: none.

Behaviour:

  • Outputs a proxy that can be used to contact the remote data source resource. If the default ServerProxy server class if then it will attempt to contact the remote server to discover the type of the server prior to use. This can be very inefficient. It is recommended that the activity is configured to use the server class specific to the presentation layer being used.