Exposing Data Service Resources via Data Services via the Command-line

To expose data service resources via data services using the command-line:

  1. Run the following command from within the OGSA-DAI WSRF binary distribution directory:
    $ ant exposeResource -Ddai.container=/path/to/Web/services/container
      -Ddai.service.name=service/name 
      -Ddai.resource.id=ResourceID
    
  2. You will need to shutdown and restart your Web services container before clients are able to access the new data service resource via the data service.
  3. After restarting your container, you can test whether the new data service resource was successfully exposed using the ListResourcesClient client.