AnsweredAssumed Answered

Alfresco copy error

Question asked by vipul.n on Jul 3, 2014
Latest reply on Oct 11, 2015 by kaynezhang
Hi,

Is there a way for us to copy a file from one folder to another folder through CMIS APIs.

I am connecting with ATOMPUB,

<!–break–>
when I try to copy with
DocumentImpl.copy() 
I get the below exception,
org.apache.chemistry.opencmis.commons.exceptions.CmisNotSupportedException: createDocumentFromSource is not supported by the AtomPub binding! 



Then it tries to copy via the DocumentImpl.copyViaClient() which gives the below error,

Cannot close source stream! 


Which gets wrapped into this error
org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Internal Server Error


Thanks in advance,

Outcomes