public class AddDocumentsTester
extends java.lang.Object
| Constructor and Description |
|---|
AddDocumentsTester() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static void main(java.lang.String[] args)
args - 0 - host
1 - port
2 - scope
3 - document name
4 - filename
5 - type (Properties/Profile/Daix)
6 - collection namepublic 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
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 documentDataResourceUnavailableFaultTypejava.net.MalformedURLExceptionjava.rmi.RemoteExceptionServiceBusyFaultTypeInvalidResourceNameFaultTypeInvalidCollectionNameFaultTypeNotAuthorizedFaultType