Thursday, December 24, 2009

Using WebDAV in eXo with JCR

You can access the repository by href like [host]:[port]/rest/jcr/[repositoryName]/[workspaceName]/[repositoryPath]

-------------------------------

Now WebDav is an extension of the REST service. To get the WebDav server ready you must deploy the REST application. Then you can access any workspace of your repository using the following URL:

Standalone mode:

http://host:port/rest/jcr/{RepositoryName}/{WorkspaceName}/{Path}

Portal mode:

http://host:port/portal/rest/private/jcr/{RepositoryName}/{WorkspaceName}/{Path}

When accessing the WebDAV server - here URL is http://localhost:8080/rest/jcr/repository/production, you might also use "collaboration" (instead of "production") which is the default workspace in eXo products - the user will be asked to enter his login and password.

No comments: