I start with Alfresco. I installed the version of Alfresco 4 Community and I am trying to connect to it using OpenCMIS. I took this piece of code on the OpenCMIS page:
SessionFactory sessionFactory = SessionFactoryImpl.newInstance(); Map<String, String> parameter = new HashMap<String, String>(); parameter.put(SessionParameter.USER, "admin"); parameter.put(SessionParameter.PASSWORD, "admin"); parameter.put(SessionParameter.ATOMPUB_URL, "http://repo.opencmis.org/inmemory/atom/"); parameter.put(SessionParameter.BINDING_TYPE, BindingType.ATOMPUB.value()); parameter.put(SessionParameter.REPOSITORY_ID, ""); Session s = sessionFactory.createSession(parameter);
However, I could not find out what the repository ID should be and how to specify the Alfresco URL. Can anyone explain this to me? Thanks.
source share