AnsweredAssumed Answered

Alfresco copy error

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

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

I am connecting with ATOMPUB,

when I try to copy with
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,