atompub

curl query to check out a document using CMIS

陌路散爱 提交于 2019-12-24 19:05:59
问题 I am trying to checkout a document using the REST-based CMIS protocol, but I get an error from the server (Alfresco). Am I misusing curl? Or am I missing something in my request? curl --user admin:admin -F "atomentry=@atomentry.xml" http://localhost:8080/alfresco/service/cmis/checkedout With atomentry.xml being: <?xml version="1.0" encoding="utf-8"?> <entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/" xmlns:cmis="http://docs.oasis-open

How to use Abdera atom client to send content and attachment

别说谁变了你拦得住时间么 提交于 2019-12-10 16:48:21
问题 We are using Abdera to interact with the IBM Connections API, but our problem is mostly related to Abdera itself. I think there is a bug in Abdera that does not allow you send an Entry that contains content and attachments in a single request. As a workaround you would probably be able to send two separate requests to create first with content and update afterwards with attachment. Sadly the Connections API required you to have all data in a single request or your old data is not preserved.