Hello all,

When creating an OpenCMIS client session, why do I need to provide the
repository id?

>From the code sample at https://cwiki.apache.org/CMIS/opencmis-client-api.html 
>:
parameter.put(SessionParameter.REPOSITORY_ID, "myRepository");
If I comment out this line, OpenCMIS returns an exception "Repository
Id is not set".

OpenCMIS could automatically find this repository id (for instance by
sending a request to ATOMPUB_URL and reading the value in the
repositoryid tag).
Is there any reason why it does not?

Thanks a lot!
Nicolas Raoul

Reply via email to