org.gcube.informationsystem.collector.stubs.testsuite.wsdaix
Class AddDocumentsTester
java.lang.Object
org.gcube.informationsystem.collector.stubs.testsuite.wsdaix.AddDocumentsTester
public class AddDocumentsTester
- extends java.lang.Object
Tester for XMLCollectionAccess::addDocuments
- Author:
- Manuele Simi (ISTI-CNR)
Method Summary |
static AddDocumentsResponse |
addDocuments(java.lang.String serviceURL,
GCUBEScope scope,
org.apache.axis.types.URI resourceName,
org.apache.axis.types.URI collectionURI,
java.lang.String type,
java.lang.String[] documentNames,
org.w3c.dom.Document[] documents)
Execute the AddDocuments operation |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddDocumentsTester
public AddDocumentsTester()
main
public static void main(java.lang.String[] args)
- Parameters:
args
- 0 - host
1 - port
2 - scope
3 - document name
4 - filename
5 - type (Properties/Profile/Daix)
6 - collection name
addDocuments
public static AddDocumentsResponse addDocuments(java.lang.String serviceURL,
GCUBEScope scope,
org.apache.axis.types.URI resourceName,
org.apache.axis.types.URI collectionURI,
java.lang.String type,
java.lang.String[] documentNames,
org.w3c.dom.Document[] documents)
throws DataResourceUnavailableFaultType,
java.net.MalformedURLException,
java.rmi.RemoteException,
ServiceBusyFaultType,
InvalidResourceNameFaultType,
InvalidCollectionNameFaultType,
NotAuthorizedFaultType
- Execute the AddDocuments operation
- Parameters:
serviceURL
- the URL of the data servicescope
- the target scoperesourceName
- the abstract name of the data resourcecollectionURI
- The URI of the collection to which the documents should be addeddocumentNames
- An array of document names to be addeddocuments
- The corresponding content of each document
- Throws:
DataResourceUnavailableFaultType
java.net.MalformedURLException
java.rmi.RemoteException
ServiceBusyFaultType
InvalidResourceNameFaultType
InvalidCollectionNameFaultType
NotAuthorizedFaultType