org.gcube.informationsystem.collector.stubs.testsuite.wsdaix
Class RemoveDocumentsTester
java.lang.Object
org.gcube.informationsystem.collector.stubs.testsuite.wsdaix.RemoveDocumentsTester
public class RemoveDocumentsTester
- extends java.lang.Object
Tester for XMLCollectionAccess::removeDocuments
- Author:
- Manuele Simi (ISTI-CNR)
Method Summary |
static void |
main(java.lang.String[] args)
|
static RemoveDocumentsResponse |
removeDocuments(java.lang.String serviceURL,
GCUBEScope scope,
org.apache.axis.types.URI resourceName,
org.apache.axis.types.URI collectionURI,
java.lang.String[] documentNames)
Executes the RemoveDocuments operation |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveDocumentsTester
public RemoveDocumentsTester()
main
public static void main(java.lang.String[] args)
- Parameters:
args
- 0 - host
1 - port
2 - scope
3 - resourcename
4 - collection
5 - document name
removeDocuments
public static RemoveDocumentsResponse removeDocuments(java.lang.String serviceURL,
GCUBEScope scope,
org.apache.axis.types.URI resourceName,
org.apache.axis.types.URI collectionURI,
java.lang.String[] documentNames)
throws DataResourceUnavailableFaultType,
java.net.MalformedURLException,
java.rmi.RemoteException,
ServiceBusyFaultType,
InvalidResourceNameFaultType,
InvalidCollectionNameFaultType,
NotAuthorizedFaultType
- Executes the RemoveDocuments operation
- Parameters:
serviceURL
- The URL of the data serviceresourceName
- The abstract name of the data resourcecollectionURI
- The URI of the collection from which documents should be removeddocumentNames
- An array of document names that should be removed
- Throws:
DataResourceUnavailableFaultType
java.net.MalformedURLException
java.rmi.RemoteException
ServiceBusyFaultType
InvalidResourceNameFaultType
InvalidCollectionNameFaultType
NotAuthorizedFaultType