As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://docs.oasis-open.org/ns/cmis/messaging/200908/"> <soapenv:Header/> <soapenv:Body> <ns:getProperties> <ns:repositoryId>I know how to fill this field</ns:repositoryId> <ns:objectId>I know how to fill this field</ns:objectId> <ns:filter>?</ns:filter> <ns:extension> <!–You may enter ANY elements at this point–> </ns:extension> </ns:getProperties> </soapenv:Body> </soapenv:Envelope>
CreateDocumentDocument1 createDocumentDoc = CreateDocumentDocument1.Factory.newInstance(); CreateDocumentDocument1.CreateDocument createDoc = createDocumentDoc.addNewCreateDocument(); createDoc.setFolderId(yourFolderId); createDoc.setRepositoryId(yourrepositoryId); CmisExtensionType extType = createDoc.addNewExtension(); XmlObject xmlObj = XmlObject.Factory.parse(doc.getDocumentElement()); //doc is org.w3c.dom.Document extType.set(xmlObj);
4.3.3 ExtensionsOn all input messages and some output messages exists an element called extension. This element is used to provide vendor or repository-specific information between client and server.All of the types referenced by the schema also support xs:any for vendor or repository-specific information.