AnsweredAssumed Answered

Enabled XPath support to the Alfresco WebService

Question asked by formi05 on Apr 20, 2007
Latest reply on Jul 10, 2008 by hunterbit
Hi guys, we are using the Alfresco Repository (2.0 community edition) in our project to handle our site content.

I am running the CMS on a separate machine from the app/web server (Spring) so I needed to find a way to connect to the CMS from our application remotely.

Initially I tried the RMI connector (Jackrabbit) and it just didn't work at all. I had some threading issues which I believe have been discussed in other threads in this forum.

Because of that I decided to switch over to using the WebService connector and whoha to my great horror realized that it didn't support  XPath. Well after some digging around I discovered that the XPath support was disabled in org.alfresco.repo.webservice.repository.RepositoryWebService.java
and I knew that XPath was supported through the NodeBrowser so I just disabled the language check in the query method and viola, I can now use XPath to retreive my content :)

Just wanted to tell you guys that.

Alfresco really kicks ass :)

Outcomes