Hi, I am facing a very basic problem of getting the right URL for connecting to my repository.
My CMIS home page comes with the URL: http://localhost:8080/chemistry-opencmis-server-jcr/ I am able to see 3 workspaces in my repository through browser using this URL: http://localhost:8080/chemistry-opencmis-server-jcr/browser One of my workspaces is named metamodel. So, when I enter the following URL in my browser, it shows the content JSON as shown below: http://localhost:8080/chemistry-opencmis-server-jcr/browser/metamodel/root { objects: [ ], hasMoreItems: false, numItems: 0 } Currently my metamodel workspace is blank. The problem is when I enter any of the above URL in my RouteBuilder, I get an error. package com.csc.ux.canvas.util; import org.apache.camel.builder.RouteBuilder; import org.apache.log4j.Logger; public class CMISAddRoute extends RouteBuilder { static Logger log = Logger.getLogger(CMISAddRoute.class.getName()); public void configure() throws Exception { from("direct:add") .process(new CMISAddProcessor()) .to("cmis://http://localhost:8080/chemistry-opencmis-server-jcr/browser/metamodel?username=admin&password=admin") .process(new CMISAddResultProcessor()); } } I don't know what I am messing up with the URL. Do I need to give atom URL like this? cmis://http://localhost:8080/chemistry-opencmis-server-jcr/atom?username=admin&password=admin Please help. Thanks a lot. Hardik -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CMIS-What-should-the-endpoint-URL-look-like-tp5746628.html Sent from the Camel - Users mailing list archive at Nabble.com.
