Size: 1035
Comment:
|
← Revision 6 as of 2010-03-17 13:08:52 ⇥
Size: 1039
Comment: converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
WSDL: attachment:DomsObjectCreation.xml | WSDL: [[attachment:DomsObjectCreation.xml]] |
Object creation API
A webservice for creating a new object, as the clone of an existing template.
Given the PID of a template, it returns the PID a new object which is cloned from the old object and ingested into Fedora.
Object creation API
WSDL: DomsObjectCreation.xml
The following describes those methods of the Object creation API that may be called by the GUI.
createObjectFromTemplate
Created a new object from the given template, and returns the PID of the new object.
Input parameters:
String user Username for the user creating a new object
String pass Password for the user creating a new object
org.apache.axis.types.URI templatePID DOMS PID of the template to use for creation of the object.
Returns:
org.apache.axis.types.URI PID of the (topmost) new object created in the DOMS. Other objects may have been created, and are in that case related to this object.
Throws:
Exception If an internal error occurred.