6 messages in org.apache.jackrabbit.usersRe: JCR WebDAV Question
FromSent OnAttachments
qcfireballOct 31, 2007 10:07 am 
Jozef WagnerOct 31, 2007 10:22 am 
qcfireballOct 31, 2007 11:01 am 
Angela SchreiberNov 1, 2007 12:53 am 
qcfireballNov 1, 2007 11:19 am 
Angela SchreiberNov 2, 2007 2:42 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: JCR WebDAV QuestionActions...
From:Angela Schreiber (anch@day.com)
Date:Nov 1, 2007 12:53:43 am
List:org.apache.jackrabbit.users

qcfireball wrote:

Has anyone successfully used the WebDAV client for authoring new content within the JCR?

"the WebDAV client"? which client are you talking about? and which servlet are you refering too?

> creating new properties on a node and populating them with plain text > creating new binary nodes containing arbitrary documents: word, pdf, bmp, gif, jpeg, etc.... > allowing multiple people collaborate on the creation and editing of this content

the 'simple' dav servlet behaves pretty much as defined by rfc 2518 including PROPPATCH and LOCK/UNLOCK. however, with this servlet you cannot operate on nodes and properties directly. instead it's the set of IO- and PropertyHandlers (see config) that is in charge of creating/modifying/removing jcr nodes and properties and exposing them to the webDAV layer.

in contrast the 'jcr-server-servlet' is designed to be used for remoting jcr api calls via http. the protocoll (i.e. matching jcr and webdav) is defined in the document http://jackrabbit.apache.org/JCR_Webdav_Protocol.doc

the protocol is not defined to perfectly match the expectations of existing webdav clients...

and to answer you questions:

i successfully used both servlets. - the simple for 'standard' (filebased) webdav - the jcr-server within the spi2dav contribution (see sandbox/spi)

angela

I suspect a new custom WebDAV servlet is required, but I am hoping the ones that come with Jackrabbit already provide this.

I have tried, with little success, of making this work as though the WebDAV "folder" is a regular filesystem. The repository side node and property types are not the types that I would have expected. Again, I suspect because that is the way the servlets are setup.