RE: Open CMIS and https

2014-09-16 Thread Jorge.MARTIN-CUERVO
Hello, Just one tip. If you are using a certificate not signed by a CA, don't forget to add the certificate in your JVM installation. Regards. Jorge MARTIN CUERVO European Commission DG TRADE Unit A4 CHAR 02/077 B-1049 Brussels/Belgium +32 2 298 86 27 jorge.martin-cue...@ext.ec.europa.eu ---

RE: CreateAndDeleteRelationshipTest()

2014-08-21 Thread Jorge.MARTIN-CUERVO
Thanks Florian and Michael, The errata document helps me a lot to understand some of my doubts I have encountered in CMIS 1.1 spec. Regards. Jorge MARTIN CUERVO European Commission DG TRADE Unit A4 CHAR 02/077 B-1049 Brussels/Belgium +32 2 298 86 27 jorge.martin-cue...@ext.ec.europa.eu -

CreateAndDeleteRelationshipTest()

2014-08-21 Thread Jorge.MARTIN-CUERVO
Hello everybody, Currently I am validating all TCKs against our recent CMIS 1.1 server implementation and I have a question related to relationships. The spec of CMIS 1.0 don't specify the updatability of the cmis:relationship properties cmis:sourceId and cmis:targetId, so we decided to use read

RE: TCK: CopyTest with AtomPub

2014-08-19 Thread Jorge.MARTIN-CUERVO
Hello Florian, thanks for your comments, I am agreed that sending "empty" or better called "not-set" variables should be valid CMIS. I will remove the validation code and ignore the empty properties. In any case if the repository consumers wants an exception when a property is empty, they

RE: Apache Chemistry 0.11 + alfresco 4.2 pagination question

2014-08-19 Thread Jorge.MARTIN-CUERVO
Hello Joshy, If you call getPage() the default is 100, buf if you don't call this method you will get all results. If you pass a parameter, this will be the limit of elements per page (in CMIS maxItems) ItemIterable items = session.query("select * from cmis:document", false); //items =

TCK: CopyTest with AtomPub

2014-08-19 Thread Jorge.MARTIN-CUERVO
Good morning, I have seen that the TCK test CopyTest was ignored in the past for AtomPub binding, and now the DocumentImpl is implementing a "client-copy" executing a create document. My issue is that that the piece of code that is copying the properties is considering cmis:description and cmi

RE: Implementing getContent method

2014-08-19 Thread Jorge.MARTIN-CUERVO
Hello, Looks like the client is not reaching the ObjectService.getContentStream() method of the server, this exception is because the client receives a null. The other services are working well? I mean Repository, Navigation and other Object service methods. Regards. Jorge MARTIN CUERVO Euro

RE: CMIS 1.1 getObjectParents()

2014-08-18 Thread Jorge.MARTIN-CUERVO
Thanks Florian, I have compiled 1.0.0-SNAPSHOT from the trunk branch and my tests are working now. Do you have any idea when the changes are going to be available in a release version? Is there any chance to include for the next coming release 0.12.0? PS: one test of inMemory server was failing

RE: CMIS 1.1 getObjectParents()

2014-08-14 Thread Jorge.MARTIN-CUERVO
Hello Florian, Sorry for my previous message, you are right, FolderImpl overwrites the method. I any case, I have experimented the issue only with AtomPub binding (with SOAP it's working well). I was trying to execute the TCK class CreateAndDeleteFolderTest() with Atom and after debugging the c

CMIS 1.1 getObjectParents()

2014-08-12 Thread Jorge.MARTIN-CUERVO
Hello everybody, we are working on the migration of our systems to CMIS 1.1. One of the changes applied is in the security part of the navigation services, the CMIS 1.1 specification says that the method getObjectParents() should only accept cmis:document, cmis:policy or cmis:item objects [1] (i

SecondaryTypesTest.java issue

2014-08-11 Thread Jorge.MARTIN-CUERVO
Hello everybody, We are working on the implementation of secondary types in our repository server. I am trying to pass the TCK (version 0.11.0) that comes with chemistry and I have found an issue with one of them. First, the default type cmis:secondary is rejected by our implementation, we mus

Missing Action.CAN_CREATE_POLICY

2014-07-17 Thread Jorge.MARTIN-CUERVO
Hello all, We are using Chemistry OpenCMIS 0.11.0 and the I miss the Action.CAN_CREATE_POLICY. from CMIS 1.1 specs (page 88) canCreatePolicy Description: Can create a cmis:policy object as a child of the specified folder (createPolicy). Base Type: cmis:folder Operand: Folder Key: canCreatePol

RE: CallContext.getCmisVersion() is null for SOAP binding

2014-07-11 Thread Jorge.MARTIN-CUERVO
Hello Florian, You are absolutely right. I have downgrade the version of JAX-WS RI to 2.1.7 and it's working perfectly. Thanks a lot for you quick replays. Regards. Jorge MARTIN CUERVO European Commission DG TRADE Unit A4 CHAR 02/077 B-1049 Brussels/Belgium +32 2 298 86 27 jorge.martin-cue...@

RE: CallContext.getCmisVersion() is null for SOAP binding

2014-07-11 Thread Jorge.MARTIN-CUERVO
Hello Florian, thanks for your answer, > WSServlet does not register new servlets. It routes all requests through one > servlet. Internally it dispatches the requests to right implementation based > on the URL pattern. Yes, you are right. The code that is registering servlets is in com.sun.xml

CallContext.getCmisVersion() is null for SOAP binding

2014-07-10 Thread Jorge.MARTIN-CUERVO
Hello everybody, We are upgrading our system to CMIS 1.1, but we have still service consumers that uses CMIS 1.0. I need to know the version of the client binding, and checking the code, the 4 servlets declared in web.xml has the version as a parameter. The ATOM servlet is getting the parameter

ACL question: isDirect attribute ignored

2014-03-28 Thread Jorge.MARTIN-CUERVO
Hello all, we have implementations of server and client CMIS applications. We consider the possibility to modify the inherited ACEs of the object, so the client applications are executing the applyACL to remove an ACE inherited (isDirect = false). The server side is reacting well but with the f

RE: mimepull 1.3 bug

2014-02-18 Thread Jorge.MARTIN-CUERVO
Done https://issues.apache.org/jira/browse/CMIS-760 Jorge MARTIN CUERVO [cid:image001.gif@01CCF6D0.4613B970] European Commission DG TRADE Unit A4 CHAR 02/077 B-1049 Brussels/Belgium +32 2 298 86 27 jorge.martin-cue...@ext.ec.europa.eu From: jorge.mar

mimepull 1.3 bug

2014-02-17 Thread Jorge.MARTIN-CUERVO
Hello all, the library "chemistry-opencmis-client-impl" (version 0.9 / 0.10) bring another library called "org.jvnet.mimepull" (version 1.3). The "mimepull" lib has an inner class called org.jvnet.mimepull.DataHead$ReadMultiStream which seems to be buggy. This "ReadMutliStream" doesn't conform t

RE: sending extension data in all service invocation

2013-11-13 Thread Jorge.MARTIN-CUERVO
Hello Florian, we have our own CMIS server implementations and we would like to send extra information in every service method. My initial idea was to send in the extension data this extra information, I can give you a couple of examples: - CAS authentication tokens. In our architecture we ha

sending extension data in all service invocation

2013-11-11 Thread Jorge.MARTIN-CUERVO
Hello everybody, We are using Apache Chemistry client library to connect to a CMIS repository. We would like to send in every method invocation extra data in the extension data space, is there any way to do it centralized? I was thinking about extending the binding implementation, but this raise

RE: CMIS 1.0 server is expecting CMIS 1.1 object type feature

2013-08-26 Thread Jorge.MARTIN-CUERVO
Thanks Florian, What I have made is to log it: @Override public TypeMutability getTypeMutability() { LOG.warn("getTypeMutability(): Operation not available. CMIS 1.1"); return null; } Jorge MARTIN CUERVO European Commission DG TRADE Uni

RE: CMIS 1.0 server is expecting CMIS 1.1 object type feature

2013-08-26 Thread Jorge.MARTIN-CUERVO
Good morning Florian, Currently our goal is to implement CMIS 1.0 but in midterm we'll go for CMIS 1.1. If I throw an exception will be much faster to detect when we do the jump to 1.1. In the other hand, returning a null will rely on my memory to remember to change this piece of code ;) Rega

CMIS 1.0 server is expecting CMIS 1.1 object type feature

2013-08-23 Thread Jorge.MARTIN-CUERVO
Hello all, We are working on a CMIS repository server and we have been using chemistry 0.8.0 for some time. Recently we have upgraded to the latest version 0.10.0 and we have found some unexpected behaviour. Our goal is to comply with CMIS 1.0, so what I have made is to throw an exception in t