The scenario used in this chapter to generate examples continues with the same fictional people and situations we've used throughout this book. Alice, a manager in the Human Resources (HR) department of a medium-sized company, creates a new document in a WebDAV repository. After editing the document to her satisfaction in her own WebDAV home directory, she places the document in a publicly readable collection where it can be reviewed. When the document has been reviewed, Alice sets a publish property so that the file will be picked up by the nightly process that copies files to a regular Web server, where employees look up this kind of information. Alice uses widely available tools to accomplish this task: Microsoft Web Folders, Microsoft Word, and an open-source command-line tool called cadaver (www.webdav.org/cadaver). The server hosting the repository is running Xythos WebFile Server (WFS, www.xythos.com). More detail on each of these tools can be found in the next chapter. The WebDAV repository Alice uses has two top-level collections:
To create and publish a file from scratch, here are the steps Alice performs:
The entire trace would be too long to include in this chapter (it contains many similar and lengthy PROPFIND requests and responses), so we have not repeated redundant requests. The traces sometimes include only the interesting parts of a request or response. Areas that are discussed in the text are shown in bold text. |