SharePoint Web Services


Table of Contents

SharePoint Web Services are available off of each SharePoint Site http://server/ URL. The web services are broken down into various different sections.

Connecting

The SharePoint Web Services can be added as a web reference just like any other web service within Visual Studio. You just need to have the URL of the web service on the SharePoint Site you wish to connect to (see list below).

The below code shows how to script instantiating a SharePoint web service. This example shows how the Lists Web Reference is used in code:

ListsProxyWS.Lists listsService = new ListsProxyWS.Lists();
listsService.Url = String.Format("{0}/_vti_bin/lists.asmx", siteUrl);
listsService.Credentials = new System.Net.NetworkCredential(username, password, domain);
listsService.PreAuthenticate = true;

Available Web Services

Click on the list below to see samples to show how to connect and use the returned data.

Name URL Description
[Admin] _vti_adm/Admin.asmx Administrative methods such as creating and deleting sites
[Alerts] _vti_bin/Alerts.asmx Methods for working with alerts
Copy Web Service _vti_bin/Copy.asmx Methods for copying to and from SharePoint sites
[DspSts] _vti_bin/DspSts.asmx Methods for retrieving schemas and data
DWS _vti_bin/DWS.asmx Methods for working with Document Workspaces
[Forms] _vti_bin/Forms.asmx Methods for working with user interface forms
[Imaging] _vti_bin/Imaging.asmx Methods for working with picture libraries
Lists SharePoint Web Service _vti_bin/Lists.asmx Methods for working with lists
[Meetings] _vti_bin/Meetings.asmx Methods for working with Meeting Workspaces
[Permissions] _vti_bin/Permissions.asmx Methods for working with SharePoint Services security
[SiteData] _vti_bin/SiteData.asmx Methods used by Windows SharePoint Portal Server
[Sites] _vti_bin/Sites.asmx Contains a single method to retrieve site templates
[UserGroup] _vti_bin/UserGroup.asmx Methods for working with users and groups
[Versions] _vti_bin/versions.asmx Methods for working with file versions
[Views] _vti_bin/Views.asmx Methods for working with views of lists
[WebPartPages] _vti_bin/WebPartPages.asmx Methods for working with Web Parts
[Webs] _vti_bin/Webs.asmx Methods for working with sites and subsites
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.



Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.