cancel
Showing results for 
Search instead for 
Did you mean: 

Workdesk 4.2c Aspects not recognized

7joeblack8
Champ in-the-making
Champ in-the-making
Hi there…

maybe another opencmis problem.

I can't make my WorkDesk recognize the template aspects.
The syntax works, 'cause it's the same template i used from previous release.

I activate this node(tried also with url of my project…same result):

<AspectRetrieveUrl>http://cmis.alfresco.com/service/api/classes/</AspectRetrieveUrl>


but as i expected isn't enough.

I think i need this too:

<AspectRetrieverClass>com.wewebu.ow.server.ecmimpl.cmis.alfresco.OwCMISALBasicAspectRetriever</AspectRetrieverClass>


but i can't find in opencmis lib the class which implements  the com.wewebu.ow.server.ecmimpl.cmis.alfresco.OwCMISALAspectRetriever interface.

Any hint?
3 REPLIES 3

d_evil
Champ in-the-making
Champ in-the-making
Hi 7joeblack8,

I don't think you will need that anymore, based on Apache Chemistry OpenCMIS
such handling is done in the Client-API.

Which means that you will need the alfresco-extension, and configure them see:
http://code.google.com/a/apache-extras.org/p/alfresco-opencmis-extension/

They use a factory for such feature (from owbootstrap.xml):

<ClassName>com.wewebu.ow.server.ecmimpl.opencmis.OwCMISNetwork</ClassName>

<adapterSessionConf>
<entry key="com.wewebu.owd.objectclassfactory.classname">
com.wewebu.ow.server.ecmimpl.opencmis.alfresco.OwCMISAlfrescoObjectClassFactory</entry>
</adapterSessionConf>

<openCmisConf>
<entry key="org.apache.chemistry.opencmis.objectfactory.classname">
org.alfresco.cmis.client.impl.AlfrescoObjectFactoryImpl</entry>
</openCmisConf>
<AtomPub>http://srvalfx64:8080/alfresco/cmisatom</AtomPub>


try that maybe it helps!

7joeblack8
Champ in-the-making
Champ in-the-making
i'm sorry but those configs are in my bootstrap…it won't work…and i assure you i have the "alfresco-opencmis-extension-0.4.jar" in lib source folder of the project.

So this is why i thought to opencmis lib…

7joeblack8
Champ in-the-making
Champ in-the-making
Solved: i was pointing to a 4.0 repo. On 4.2c full stack everything's running fine.
Hope this helps someone else Smiley Happy
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.