Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C156A10A3E for ; Wed, 21 Aug 2013 11:16:31 +0000 (UTC) Received: (qmail 35975 invoked by uid 500); 21 Aug 2013 11:16:31 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 35800 invoked by uid 500); 21 Aug 2013 11:16:31 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 35792 invoked by uid 99); 21 Aug 2013 11:16:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Aug 2013 11:16:30 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of carlo.sciolla@gmail.com designates 209.85.128.41 as permitted sender) Received: from [209.85.128.41] (HELO mail-qe0-f41.google.com) (209.85.128.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Aug 2013 11:16:24 +0000 Received: by mail-qe0-f41.google.com with SMTP id x7so132380qeu.14 for ; Wed, 21 Aug 2013 04:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=GRCbdkQZAEJFPVhj+AWjxDxoffzXFmK2k0Bri0OXe3Q=; b=A7DWJRcogPijlbCpHNgbpO/hguzljTz5bPs7SmRYZ+ahBsUbdqWoA1brVdxhJsDrvg PhLUBnWNBVcvQV91+1x4RyYlqcb5fHyl1pW009u4dvleO+vNodcBx89I/UU6zW0tAWor /PW95cQMoFbQRWkU1AsUg+cJXV6IfxxZUlZTlVUt1zn1jyUmBqHN8futxKs55WfM2xdt 8E/q3GzyAMSPaBQ958D7YJo1WkLARIETgv+A3GdL4kYPGMxZYfIsqUeQyQfPL0CHgNQg eHtoJZEb9YNCznDXpE0vgqsrGOfKZ7ATTqHHUJcg/m0tS7OtbU2XsHtou42wnn3nLJrs 1aVQ== X-Received: by 10.224.103.73 with SMTP id j9mr1468910qao.101.1377083763915; Wed, 21 Aug 2013 04:16:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.49.83.73 with HTTP; Wed, 21 Aug 2013 04:15:43 -0700 (PDT) From: Carlo Sciolla Date: Wed, 21 Aug 2013 13:15:43 +0200 Message-ID: Subject: Copying a document with the AtomPub binding To: dev@chemistry.apache.org Content-Type: multipart/alternative; boundary=001a11c2d59493017f04e4734c76 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2d59493017f04e4734c76 Content-Type: text/plain; charset=ISO-8859-1 Hi chemists, the AtomPub binding doesn't expose createDocumentFromSource, and the current Chemistry client implementation throws an exceptionwhen 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 --==(A)==-- Linux User #372086 My personal blog: http://www.skuro.tk Follow me on twitter: http://twitter.com/skuro Fork me on Github: http://github.com/skuro My LinkedIn profile: http://nl.linkedin.com/in/carlosciolla --==(A)==-- Product Lead at Backbase - Next Generation Portal Software for Financials & Large Enterprises (http://www.backbase.com) --001a11c2d59493017f04e4734c76--