AnsweredAssumed Answered

Integration of Alfresco with ADF

Question asked by bnshiva on Jul 9, 2014
Latest reply on Oct 10, 2017 by douglascrp
Hi All,

I'm trying to integrate Alfresco with Oracle Application Development Framework (ADF). If I run a plain java class with main method, I'm able to create a session and upload file to the repo. But its failing in two scenarios.

1. Replicating method method to perform Alfresco call from my Managed bean.
2. If I add @WebService annotation to the class and create a webservice out of it.

I create a session, the session exists with a valid RepoID and folderID , the moment I do session.getRootFolder(), I get the following error log

org.apache.chemistry.opencmis.commons.exceptions.CmisObjectNotFoundException: Unknown repository!
   at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getObjectInternal(AbstractAtomPubService.java:767)

Not sure what I'm missing out on, in this case. Need some help in this case. I'm also wondering if anyone else has integrated ADF with Alfresco

Although there is default Webservice (SOAP and REST) exposed by Alfresco I could dig down deep into it due and we're more comfortable by directly using Java APIs

Thanks,
Shiva Shankar B N

Outcomes