Questions tagged [apache-chemistry]

Apache Chemistry is an open source implementation of the CMIS content management interchange standard

Apache Chemistry provides open source implementations of the Content Management Interoperability Services (CMIS) specification.

This tag should be used for questions around using the CMIS client libraries (in Java, .NET, Python or PHP), or for questions around using and embedding the Java server library in your application.

For more general CMIS related queries, the CMIS tag should normally be used.

105 questions
0
votes
1 answer

CMIS: Choice List of Dates contains values which are not suitable to update a Document

this question is a carbon copy of the one in Alfresco Community. In our company we use Alfresco where we added new TestModel and ListDate property. Next we use CMIS Apache Chemistry connector that returns list of choices: When one of these values…
Olegdelone
  • 189
  • 4
  • 15
0
votes
1 answer

apache chemistry session with spring

I am currently developping java/jee app using spring as framework and alfresco as ged. I am using apache chemistry to connect to the alfresco repository. This the code I am using to get a session. Is there a way to change this code with spring bean…
fbm fatma
  • 430
  • 6
  • 22
0
votes
1 answer

HTTP Proxy-Authentication with OpenCMIS client

I am developing an OpenCMIS client using BindingType.Browser. Creating a session passing the required parameters for USER, PASSWORD, BROWSER_URL, BINDING_TYPE and REPOSITORY_ID works as expected. The session is created and further steps can be…
bj03rnv0ss
  • 81
  • 1
  • 3
0
votes
2 answers

Apache Chemistry on Weblogic

I'm trying to run my app in Weblogic but everytime I'm trying to get a session it fails with this error: "Message": "SPI cannot be initialized: Could not detect JAX-WS implementation! Use session parameter…
Alfredo M
  • 568
  • 3
  • 7
  • 26
0
votes
1 answer

How to get case insensitive cmis:folder search query

stmt = session.createQueryStatement("SELECT * FROM cmis:folder WHERE IN_TREE(?) and cmis:name=?"); stmt.setString(1,'sites/test/documentLibrary'); stmt.setString(2,'Test'); I got result with exact…
0
votes
1 answer

is there "upper" or "lower" functions in cmis?

I'm executing this query: String query = "SELECT cmis:objectId,cmis:name FROM cmis:folder WHERE IN_FOLDER('" + objectId + "')"; if (filterName != null && !filterName.trim().isEmpty()) query += " and cmis:name like '%" + filterName.trim() + "%'…
Alfredo M
  • 568
  • 3
  • 7
  • 26
0
votes
1 answer

Download Document from alfresco using opencmis

I want to download document from alfresco using path but i am getting content length null and image can be downloaded in browser but nothing is displaying. Can anybody point out what i am doing wrong. import java.io.BufferedInputStream; …
nagi
  • 381
  • 2
  • 8
  • 22
0
votes
1 answer

CMIS PermissionDeniedException

I'm trying to get service(SAP mobile document) via CMIS. In service web client i can create folder and add file. Via CMIS I can auth and get repo's list, but that's all. For other methods I get cmislib.exceptions.PermissionDeniedException: Error…
Riorita
  • 151
  • 2
  • 2
  • 12
0
votes
1 answer

Service Unavailable Exception while connecting to Alfresco with Chemistry CMIS

I am connecting to Alfresco using the below Chemistry CMIS code final SessionFactory sessionFactory = SessionFactoryImpl.newInstance(); // prepare connection parameters final Map connectionParameters = new HashMap
user2361591
  • 153
  • 1
  • 14
0
votes
1 answer

NullPointer in CMIS Session getObject - Apache Chemistry

I am facing a NullPointerException doing a Session getObject in Apache Chemistry OpenCmis 0.10.0. I am also using Alfresco OpenCmis extension 0.6. This is the code used: OperationContext context =…
vbail
  • 364
  • 3
  • 14
0
votes
1 answer

Connecting to Alfresco Repository using Chemistry cmis without using port

I have a requirement where i need to connect to Alfresco Repository using the below atompuburl https://www.myalfresco.com/alfresco/api/-default-/public/cmis/versions/1.1/atom where www.myalfresco.com is my aws alfresco url. I use the below snippet…
user2361591
  • 153
  • 1
  • 14
0
votes
2 answers

Update cmis:name of object (document) with Apache Chemistry Php Library

I've one objectId and I want to change his name (for example) with Apache Chemistry PHP Library. I try to use updateProperties method that Chemistry library provide... but I can't see the change. ¿What happen? $test = new CMISService($repo_url,…
aivdev
  • 59
  • 7
0
votes
0 answers

Create shortcut of Folder or Document in Alfresco

My requirement is to create shortcut of one folder or document into another folder. For example lets say I have a folder called A and in this folder I have many documents. Now I want to create shortcut of this folder into another folder name B. So…
deen
  • 2,185
  • 7
  • 29
  • 53
0
votes
2 answers

Alfresco: Failed to create directory

I have created a simple example to create document in alfresco using apache chemistry. I was working fine and able to create document. But when I restart my machine and alfresco server then now same program giving me…
deen
  • 2,185
  • 7
  • 29
  • 53
0
votes
2 answers

How to Link a Document in Alfresco using Apache Chemistry

I have just started alfresco, My requirement is to create a link of existing document to other folder using apache chemistry in java. I am using alfresco-community-5 version. Please some one suggest me how to do thin. thank you
deen
  • 2,185
  • 7
  • 29
  • 53