Hi Fabian,
Don't know if you were able to fix the issue but the ServerResource class
introduced in Restlet 2.0 doesn't support extension methods using the handle*()
pattern. This only works for the now deprecated Resource class.
The 2.0 way to support this is to leverage method annotations.
Hello Jerome,
Indeed, I've found out about it the 'hard way' :-)
I've managed to create the needed annotation and handle PROPFIND fine.
I've taken a look at the annotation you've added on incubator (yours
is called PropFind, mine is called Propfind), got Restlet source code,
and run:
ant -f
Fabian,
Currently, the incubator isn't part of the automated build, but there is a
Maven pom.xml file inside that you can leverage. I've updated it so it builds
the SIP and WebDAV modules for now.
Note that you will need to build the org.restlet module first with Maven so
it installs the
Hello there, I'm trying (fighting and learning, bah ;)) to add WebDAV
support to a ServerResource. To test, I'm using the Nautilus/GNOME
Connect to Server WebDAV client. I've seen that 1st an OPTIONS
(HTTP) request is issued, then a PROPFIND (DAV) request is issued.
My resource has options()
I ran into similar trouble porting it myself, but that was many
milestones ago ... Will retry with M6 and see if I get the same
results as you!
On Jan 16, 2010, at 8:17 AM, Fabian Mandelbaum fmandelb...@gmail.com
wrote:
Hello there, I'm trying (fighting and learning, bah ;)) to add WebDAV
Thanks Rob (and sorry for miswritting your lastname ;)).
For all it's worth I've just tried with cadaver (DAV command line
client), and got the same results, CLI 'session' and excerpt from the
logs follow:
[fab...@laptop ~]$ cadaver http://localhost:9000/workpsaces/W1/content
Could not access
Hum... one more thing I've found out while testing, I've removed
OPTIONS support from the RootFolderResource (serving the / URI) and
now the error is different:
[fab...@laptop ~]$ cadaver http://localhost:9000/workpsaces/W1/content
Could not open collection:
405 The method specified in the
Is the workpsaces/workspaces typo below significant?
On Jan 16, 2010, at 9:39 AM, Fabian Mandelbaum fmandelb...@gmail.com
wrote:
Hum... one more thing I've found out while testing, I've removed
OPTIONS support from the RootFolderResource (serving the / URI) and
now the error is different:
arrhghghgh, yes, it was, thanks for pointing me to my crossed fingers
while typing. Ok, this last test for intermediate resources can be
ignored. Behaviour still prevails though, 405 returned for PROPFIND on
the resource.
On Sat, Jan 16, 2010 at 11:45 AM, Rob Heittman
rob.heitt...@solertium.com
9 matches
Mail list logo