AnsweredAssumed Answered

createDocument w/o contentStream leads to CMISException

Question asked by gressho on Sep 9, 2009

I try to create a document without content and I thougt the CMIS spec would allow that (the content stream is optional).
However, the command

configurationFileId = objectEndpoint.createDocument(repositoryId, "document", properties, guestHomeId,
                        null, EnumVersioningState.MAJOR);

leads to a CMISException: ContentStream meime type was not specified

Leaving the type aside  :wink: , my problem is that the id will not be returned although the document is created.

Best wishes