org.gcube.informationsystem.collector.stubs.testsuite.wsdaix
Class GetDocumentsTester
java.lang.Object
org.gcube.informationsystem.collector.stubs.testsuite.wsdaix.GetDocumentsTester
public class GetDocumentsTester
- extends java.lang.Object
Tester for XMLCollectionAccess::getDocuments
- Author:
- Manuele Simi (ISTI-CNR)
Method Summary |
static GetDocumentsResponse |
getDocuments(java.lang.String serviceURL,
GCUBEScope scope,
org.apache.axis.types.URI resourceName,
org.apache.axis.types.URI collectionURI,
java.lang.String[] documentNames)
Executes the GetDocuments operation. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetDocumentsTester
public GetDocumentsTester()
main
public static void main(java.lang.String[] args)
- Parameters:
args
- 0 - host
1 - port
2 - scope
3 - collection
4 - document name
getDocuments
public static GetDocumentsResponse getDocuments(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 GetDocuments operation.
- Parameters:
serviceURL
- The URL of the data serviceresourceName
- The abstract name of the data resourcedocumentNames
- An array of document names to be retrieved
- Throws:
DataResourceUnavailableFaultType
java.net.MalformedURLException
java.rmi.RemoteException
ServiceBusyFaultType
InvalidResourceNameFaultType
InvalidCollectionNameFaultType
NotAuthorizedFaultType