There are three types of APIs provided by OpenKM:
(1) SDK APIs
(2) SOAP API
(3) RESTFUL API
I am now using OpenKM as the backend file server, and need to to call the APIs.
I don't know what is the difference between them, and when I call SOAP APIs (getFolderTree) I got the error -- CMIS version not set. For details please refer the info below. Anybody would please help on this?
(1) SDK APIs
(2) SOAP API
(3) RESTFUL API
I am now using OpenKM as the backend file server, and need to to call the APIs.
I don't know what is the difference between them, and when I call SOAP APIs (getFolderTree) I got the error -- CMIS version not set. For details please refer the info below. Anybody would please help on this?
Code: Select all
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Server configuration issue. CMIS version not set!</faultstring>
<detail>
<cmisFault xmlns="http://docs.oasis-open.org/ns/cmis/messaging/200908/" xmlns:ns2="http://docs.oasis-open.org/ns/cmis/core/200908/">
<type>runtime<pe>
<code>0</code>
<message>Server configuration issue. CMIS version not set!</message>
<stacktrace:stacktrace xmlns="http://chemistry.apache.org/opencmis/exception" xmlns:stacktrace="http://chemistry.apache.org/opencmis/exception">org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Server configuration issue. CMIS version not set!
at org.apache.chemistry.opencmis.server.impl.webservices.AbstractService.createContext(AbstractService.java:108)
at org.apache.chemistry.opencmis.server.impl.webservices.AbstractService.getService(AbstractService.java:151)
at org.apache.chemistry.opencmis.server.impl.webservices.NavigationService.getFolderTree(NavigationService.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)