chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Miller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-362) Cannot checkout documents from SharePoint 2010 repository using REST
Date Fri, 10 Jun 2011 17:57:58 GMT

    [ https://issues.apache.org/jira/browse/CMIS-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047332#comment-13047332
] 

David Miller commented on CMIS-362:
-----------------------------------

Florian,

I got some information from MS Support.  They sent me a URL you can send to SP2010's REST
service (no payload needed) to check out a document:

http:// <ServerName>/_vti_bin/cmis/rest/99763AC1-ABB2-453F-A752-9D6A7E0AA33B?getCheckedoutDocs&repositoryId=99763AC1-ABB2-453F-A752-9D6A7E0AA33B&orderby=Id&objectId=1-2560

Where the GUID is the SP2010 repository ID.  The orderby is not required, but doesn't hurt.
 

Thanks,
Dave



> Cannot checkout documents from SharePoint 2010 repository using REST
> --------------------------------------------------------------------
>
>                 Key: CMIS-362
>                 URL: https://issues.apache.org/jira/browse/CMIS-362
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.3.0
>            Reporter: David Miller
>
> Using Chemistry I can add a document to SharePoint 2010 via the AtomPub bindings.  Adding
the document gives me a Chemistry Document instance.  When I call checkOut() on this instance,
I get a "Bad Request" response (HTTP 400 status code), and the response body from SP 2010
is just the single word "documentId". The Chemistry exception is a CmisInvalidArgumentException.
> Does anybody have working code to checkout documents from SP2010?  I can't find any samples
online.
> Thanks,
> Dave

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message