Hello! I would like to integrate my java application with Oracle Webcenter via CMIS REST API. I can read,delete documents, but have problem with creation one.
I get success only when I create document(type = "/ucmserver/IDC:GlobalProfile") with name "idcPrimaryFile". In other cases I have exception:
oracle.webcenter.content.integration.RepositoryException: Nov 12, 2015 8:52:06 AM oracle.webcenter.content.integration.spi.ucm.DocumentManager mapBinaryPropertiesToTransferFile
SEVERE: Unable to perform action on document with binary because the binary name and node name must be the same, but they are not. The binary name is XXX and the file name is idcPrimaryFile
My properties:
properties = [
(PropertyIds.OBJECT_TYPE_ID): type,
(PropertyIds.NAME): name,
"/ucmserver/IDC:GlobalProfile.ora:p:dDocType": "Application",
"/ucmserver/IDC:GlobalProfile.ora:p:dDocTitle": "Test",
"/ucmserver/IDC:GlobalProfile.ora:p:dSecurityGroup": "Public",
]
I will be appreciate for help