public class GetDocumentsTester
extends java.lang.Object
| Constructor and Description |
|---|
GetDocumentsTester() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static void main(java.lang.String[] args)
args - 0 - host
1 - port
2 - scope
3 - collection
4 - document namepublic 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
serviceURL - The URL of the data serviceresourceName - The abstract name of the data resourcedocumentNames - An array of document names to be retrievedDataResourceUnavailableFaultTypejava.net.MalformedURLExceptionjava.rmi.RemoteExceptionServiceBusyFaultTypeInvalidResourceNameFaultTypeInvalidCollectionNameFaultTypeNotAuthorizedFaultType