AnsweredAssumed Answered

combine ipf and alfresco

Question asked by cobolus on Jul 31, 2012
Hi !

I want to extend alfresco by service using IPF framework ( which is based on apache camel. I used the maven-alfresco-extension-archetype to build my own alfresco.war where I startup my beans through my own *-context.xml. when I try to use webservices from IPF (which are configured through apache camel routes) I get conflicts with CXF provided by alfresco:

SEVERE: Servlet.service() for servlet [CXFServlet] in context with path [/alfresco] threw exception [Servlet execution threw an exception] with root cause
java.lang.NoSuchMethodError: org.apache.cxf.binding.soap.SoapMessage.setContextualProperty(Ljava/lang/String;Ljava/lang/Object;)V

Is there a possibility to use CXF that comes with IPF and remove CXF that is used by alfresco ? What other possibilities do I have when I want to use Foundation API and want to bring apache camel/IPF and alfresco together into 1 tomcat that also provides the alfresco web interface ?

thanks for your help