Document Workspace Service
The Document Workspace Web service exposes methods for managing Document Workspace sites and the data they contain.
Public Constructors
The following constructor can be used to instantiate the Document Workspace service.
Name | Description |
---|---|
Dws | Initializes a new instance of the Document Workspace service. |
Public Methods
The following table shows the methods of the Document Workspace service and a brief description of each.
Name | Description |
---|---|
CanCreateDwsUrl(String) | Verifies the right for a user to create a subsite on the server. |
CreateDws(String, String, String, String) | Creates a Document Workspace site. |
CreateFolder(String) | Creates a subfolder in the document library of the Document Workspace site. |
DeleteDws | Deletes the current Document Workspace site. |
DeleteFolder(String) | Deletes a subfolder in the document library of the Document Workspace site. |
FindDwsDoc(String) | Returns the complete URL for a document stored in the Document Workspace site. |
GetDwsData(String, String) | Returns data about the Document Workspace site. |
GetDwsMetaData(String, String, Boolean) | Returns more complete data about the Document Workspace site. |
RemoveDwsUser(String) | Deletes a member of the current Document Workspace site. |
RenameDws(String) | Changes the title of the current Document Workspace site. |
UpdateDwsData(String, String) | Performs a batch update of items and data for the Document Workspace site. |
Remarks
The Document Workspace service is used by Microsoft Office Outlook 2003 in the context of its Shared Attachments feature.
The methods exposed by this Web service provide functionality in the following categories:
Managing Document Workspace sites
Managing data for the Document Workspace site
Managing folders in the Document Workspace site
Managing documents in the Document Workspace site
Managing site users for the Document Workspace site
You must authenticate the user to the server, as shown in the example later in this topic, before calling the methods of the Document Workspace service.
The methods of the Document Workspace Web service operate on any type of SharePoint site, including sites that are not configured as Document Workspace sites. For example, you can use the GetDwsMetaData method to return information about any SharePoint site.
Example
The following code example shows how to initialize a new instance of the Document Workspace Web service and authenticate the user to the server by using the credentials of the current user.
Requirements
Namespace: Microsoft.SharePoint.SoapServer
Platforms: Microsoft Windows Server 2003
Assembly: Windows SharePoint Services Web Service (in STSSOAP.dll)
Web Reference: http://Server_Name/_vti_bin/Dws.asmx