The Hoju Saram

Friday, April 27, 2007

Adventures in WebDAV

I have been developing a C# .net WebDAV Server with a backend SQL database for a bit. I have all of the file system functionality ( copy , move, rename, delete make folders etc ) working as well as LOCK support. This all works great. I am now tyring to get some of the MS office features working and have hit a bit of a stumbling block.

If I load a word document from my WebDAV server and then select file->Properties then Word fires a webdav PROPFIND request back to my server and displays an “OK” dialog that says “Verifying Web Properties”.

The PROPFIND request that is sent to my server looks like this

[a:propfind xmlns:a=”DAV:” xmlns:b=”urn:schemas-microsoft-com:datatypes”]
[a:prop xmlns:c=”urn:schemas-microsoft-com:office:office”]
[c:save-profile-form-location /]
[/a:prop]
[/a:propfind]

The problem is that I have no idea what save-profile-form-location is supposed to be and a search on google returns a huge 6 documents. So I guess noone else know what this means either ??

I have tried various replies from my server in the format

[D:multistatus xmlns:b=”urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882″ xmlns:c=”urn:schemas-microsoft-com:office:office” xmlns:D=”DAV:”]
[D:response]
[D:href]test.doc[/D:href]
[D:propstat]
[D:status]HTTP/1.1 200 OK[/D:status]
[D:prop]
[c:save-profile-form-location]/WDClient/profile.doc[/c:save-profile-form-location]
[/D:prop]
[/D:propstat]
[/D:response]
[/D:multistatus]

Using all sorts of values and data , but this is all ignored by word. So I am a bit stuck. I may try to arrange a support call to Microsoft about this. It would be nice if I could get word to read some properies from my webdav server. So I will do some more searching on this one.

Labels:

1 Comments:

  • Not sure what it really means, but the software my company uses just returns a 403 Forbidden status back to Office, and it doesn't seem to affect WebDAV functionality. Maybe it's a Microsoft extension to the WebDAV standard that it can use if implemented, otherwise it doesn't.

    By Blogger LoneStranger, at 3:05 am, July 14, 2007  

Post a Comment

<< Home