Withdrawing Data Service Resources from Data Services via the Command-line
To withdraw data service resources from data services: 
- 
Run the following command from within the OGSA-DAI WSRF binary
distribution directory:
$ ant withdrawResource -Ddai.container=/path/to/Web/services/container
  -Ddai.service.name=service/name -Ddai.resource.id=ResourceID
- 
dai.container specifies the
path to your Web services container. Alternatively you can define a
OGSADAI_CONTAINER environmental variable to 
hold this value.
 
- 
dai.service.name specifies the name of the
service. For example -Ddai.service.name=ogsadai/DataService 
specifies a data service whose URL will be
http://HOST:PORT/wsrf/services/ogsadai/DataService.
 
- 
dai.resource.id is the ID of the
data service resource that the data service is no longer to
expose. For example -Ddai.service.resource=MyRelationalResource 
 
 
- 
You will need to shutdown and restart your Web services container 
before the changes take effect.