chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gil_loure...@iol.pt
Subject Re: Server with CMIS version 1.1
Date Thu, 19 Sep 2013 08:13:44 GMT
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 <fmui@apache.org>:
> 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.
>
>
>   - Florian
>
>> Hi 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message