chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlo Sciolla <>
Subject Re: Copying a document with the AtomPub binding
Date Wed, 21 Aug 2013 12:57:56 GMT
Hi Florian,

I'm currently still on 0.6.0, but looking at the current code it seems that
the same flows exists in the latest trunk:

new CmisNotSupportedException("createDocumentFromSource is not
by the AtomPub binding!")

Am I missing something?


2013/8/21 Florian Müller <>

> Hi Carlo,
> Document.copy() should also work with the AtomPub binding. If it doesn't,
> we have to investigate.
> If createDocumentFromSource is not support either by the binding or the
> server, Document.copy() creates a new document and streams the content from
> the source document to the new document via the client. That is, the
> content is transmitted twice (to and from the client) over the wire. It's
> not great, but it's the best solution we could come up with.
> Florian
>  Hi chemists,
>> the AtomPub binding doesn't expose createDocumentFromSource, and the
>> current Chemistry client implementation throws an
>> exception<**apache/chemistry-opencmis/**
>> blob/android/chemistry-**opencmis-client/chemistry-**
>> opencmis-client-bindings/src/**main/java/org/apache/**
>> chemistry/opencmis/client/**bindings/spi/atompub/**
>> >**when
>> issuing document.copy() or session. createDocumentFromSource().
>> Is there any advised method to copy a document in a generic and reusable
>> way that will work regardless of the binding? And if not, what's the most
>> appropriate way for AtomPub?
>> Thanks,
>> c.

Carlo Sciolla

Linux User #372086
My personal blog:
Follow me on twitter:
 <>Fork me on Github:
<>My LinkedIn profile:

Product Lead at Backbase - Next Generation Portal Software for Financials &
Large Enterprises (

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message