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 564CF17B64 for ; Tue, 24 Mar 2015 20:08:55 +0000 (UTC) Received: (qmail 14436 invoked by uid 500); 24 Mar 2015 20:08:50 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 14386 invoked by uid 500); 24 Mar 2015 20:08:50 -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 Delivered-To: moderator for dev@chemistry.apache.org Received: (qmail 32748 invoked by uid 99); 24 Mar 2015 18:50:57 -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 (athena.apache.org: local policy) X-IronPort-AV: E=Sophos;i="5.11,459,1422939600"; d="scan'208,217";a="13997628" X-IPAS-Result: A2CoBACIsBFV/+koKApcgkOBFV7MOwKCDAEBAQEBAX2EFgUtXgEVFVYmAQQb0VUBAQgCAR+PZoNPgRYFjkKCDosKgzCCToYehnWEEIIzfwEBAQ From: "Patel, Himanshu Z." To: "dev@chemistry.apache.org" Subject: DOTCMIS 0.6 using AtomPub Binding 1.1 Thread-Topic: DOTCMIS 0.6 using AtomPub Binding 1.1 Thread-Index: AdBmYWanYxLja5ldQwenlYx1gTu3hQAAbkbQ Date: Tue, 24 Mar 2015 18:50:26 +0000 Message-ID: <6E84EC416674F446B3B90B943F43499594D9918C@OAKSMB02.corp.seic.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.50.10.30] Content-Type: multipart/alternative; boundary="_000_6E84EC416674F446B3B90B943F43499594D9918COAKSMB02corpsei_" MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Virus-Checked: Checked by ClamAV on apache.org --_000_6E84EC416674F446B3B90B943F43499594D9918COAKSMB02corpsei_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi: I am using DOTCMIS library to create document in Alfresco 5.0, when I try t= o create document using AtomPub Binding 1.1 I am getting different types of= error which are follow... 1) When I try to create Folder object using following tagetFolder =3D (Folder)session.GetObjectByPath(""); Property 'cm:description' doesn't exist! I tried to debug this in the source code provided and found that when we us= e 1.1 binding , the property is replaced by "cmis:description". Found more = few such properties which either is not supported using 1.1 binding or its = name got changed... 2) After overcoming the issue in point 1, now I found some strange iss= ue related to Content Model that is define which is using Aspects. When I c= reate document by setting the value for "cmis:objectTypeId" as name of the = content model type (which uses Aspects) and setting all the property value= s for Aspects , than i am getting the exception which say that Property '' is not valid for this t= ype! I have verified weather Aspect is part of my Document which I have created = by following Document doc =3D tagetFolder.CreateDocument(properties, contentStream, null= ) as Document; var allaspects=3D doc.GetPropertyValue("cmis:secondaryObjectTypeIds"); .. //check if my aspect is part of allaspects // if so add the values for all the properties of aspect and update the doc= ument properties... Dictionary parameters2 =3D new Dictionary(); parameters2.Add("