OGSA-DAI comes with a client that allows you to list the data service resources exposed by an OGSA-DAI WSRF data service.
To list the data service resources exposed by a data service:
$ ant listResourcesClient -Ddai.url=SERVICE-URLwhere -Ddai.url= specifies the URL of the data service. If omitted then a default URL of http://localhost:8080/wsrf/services/ogsadai/DataService is used.
$ ant listResourcesClient -Ddai.url=http://localhost:8080/wsrf/services/ogsadai/MyDataService
[java] Contacting ... http://localhost:8080/wsrf/services/ogsadai/DataService [java] Service version: OGSA-DAI WSRF 1.0 [java] This service exposes no resources!For example:
[java] Contacting ... http://localhost:8080/wsrf/services/ogsadai/DataService [java] Service version: OGSA-DAI WSRF 1.0 [java] Number of resources: 2 [java] Resource: MySQLResource [java] Resource: AnotherResource
Note: as an alternative to setting CATALINA_HOME or GLOBUS_LOCATION you can specify the Tomcat or GT4 locations using the -Dtomcat.dir=/path/to/Tomcat/directory or -Dgt.dir=/path/to/Globus/directory flags respectively.
| Up: Clients | Next: GetProperty Client | |
| © International Business Machines Corporation, 2005. | © The University of Edinburgh, 2005. |