Hi Florian, You are right, I've switch now to the 1.1 URL for atom (http://localhost:8080/myserver/atom11[1]) and got the correct CMIS version in the context.
Many thanks & kind regards, GLoureiro Citando Florian Müller <[email protected]>:
Hi GLoureiro, You are probably using the wrong URL. There should be five servlets in your web.xml - two for CMIS 1.0 (AtomPub and Web Services) and three for CMIS 1.1 (AtomPub, Web Services, and Browser). If connect with your client to one of the CMIS 1.1 URLs, the framework should report the CMIS version 1.1 in the CallContext. - FlorianHi all, Based on the file share example (v0.10.0 over Java), I'm building a CMIS server. My goal is to publish a version 1.1 compatible interface, so I've set CMIS version to 1.1: ... repoInfo.setCmisVersionSupported("1.1"); repositoryInfo.setCmisVersion(CmisVersion.CMIS_1_1); ... typeManager = new TypeManager(CmisVersion.CMIS_1_1); ...but debugging I getalwaysversion 1.0 from the context: "context.getCmisVersion()"Do I need to declare 1.1somewhere else?Thanks, and kind regards,GLoureiro
Ligações: --------- [1] http://localhost:8080/yourapp/atom11
