AnsweredAssumed Answered

runtime exception while interecting with repository using CMIS api

Question asked by ranveer on Apr 28, 2014
Latest reply on Apr 30, 2014 by ranveer
Hi all,

I am using CMIS api to interect with alfresco repository. My applcation is throwing exception while interecting with repository.

My application is in struts 2.0 . the stacktrace is

06:51:46,877 ERROR [com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor] (http–0.0.0.0-9090-4) Unexpected document! Received: HTML document: org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: Unexpected document! Received: HTML document
        at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.parse(AbstractAtomPubService.java:596) [chemistry-opencmis-client-bindings-0.10.0.jar:0.10.0]
        at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getRepositoriesInternal(AbstractAtomPubService.java:777) [chemistry-opencmis-client-bindings-0.10.0.jar:0.10.0]
        at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:65) [chemistry-opencmis-client-bindings-0.10.0.jar:0.10.0]
        at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:85) [chemistry-opencmis-client-bindings-0.10.0.jar:0.10.0]
        at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:109) [chemistry-opencmis-client-impl-0.10.0.jar:0.10.0]
        at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:96) [chemistry-opencmis-client-impl-0.10.0.jar:0.10.0]

Outcomes