Activity Configuration Document

Activity configuration involves specifying information about the activities that a service supports and a client can execute. The activity configuration dictates the activities that can be specified within a client's perform document or Client Toolkit request. Configuration is achieved using an activity configuration document.

An activity configuration document includes information on the following:

Example

<?xml version="1.0" encoding="UTF-8"?>
<activityConfiguration xmlns="https://ogsadai.org.uk/namespaces/2005/10/config">

  <documentation>
    This is an example activity configuration document.
  </documentation>

  <basePerformDocumentSchema
    location="http://localhost:8080/wsrf/schema/ogsadai/xsd/perform.xsd"/>

  <activityMap
    schemaBase="http://localhost:8080/wsrf/schema/ogsadai/xsd/activities/"
    configBase="http://localhost:8080/wsrf/config/">

    <activity name="sqlQueryStatement"
      implementation="uk.org.ogsadai.activity.sql.SQLQueryStatementActivity"
      schema="sql_query_statement.xsd"/>

    <activity name="specialDelivery"
      implementation="some.package.SpecialDeliveryActivity"
      schema="deliver_results.xsd">
      <property key="url" value="ftp://anon:"/>
      <property key="maxBytes" value="10000"/>
    </activity>

    <activity name="proteinToGeneTransformation"
      implementation="some.package.ProteinToGeneTransformation"
      schema="protein_to_gene.xsd"
      config="proteinToGene.xml"/>

  </activityMap>

</activityConfiguration>

Specification

Root element activityConfiguration contains:

XML Schema

OGSA-DAI/schema/ogsadai/xsd/activity_config.xsd