= 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: [[attachment: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.