4.1 Full Indexing

A site collection can be indexed in many ways. This example illustrates a part of one of the sequence of operations required to perform full indexing of a site collection.

In this scenario there is a site collection addressed by the URL http://fabrikam. This site collection contains many subsites. One of these subsites is addressed by the URL http://fabrikam/TestSubSite.

The protocol client calls the GetSite operation to get all the information about the site collection. The protocol client sends the following request SOAP message to call the GetSite operation.

 <GetSite xmlns="http://schemas.microsoft.com/sharepoint/soap/" />

The protocol client sends the HTTP POST to the protocol server http://fabrikam.

The POST URL is /_vti_bin/Sitedata.asmx.

The header specifies the following SOAP action:

 http://schemas.microsoft.com/sharepoint/soap/GetSite

The protocol server returns information about the site collection in a response SOAP message as defined in GetSiteResponse (section 3.1.4.6.2.2). The protocol client parses the response and collects the URLs of all the subsites in the site collection.

The protocol client calls the GetWeb operation for all the subsites of the site collection and collects information about all the lists, users, and groups of all the subsites.

The request SOAP message to call the GetWeb operation to get information about the site TestSubSite is as follows:

 <GetWeb xmlns="http://schemas.microsoft.com/sharepoint/soap/" />

The protocol client sends the HTTP POST to the protocol server: http://fabrikam/TestSubSite

The POST URL is /_vti_bin/Sitedata.asmx.

The header specifies the following SOAP action:

 http://schemas.microsoft.com/sharepoint/soap/GetWeb

The protocol server sends a response SOAP message as defined in GetWebResponse (section 3.1.4.9.2.2). The response contains all the information about of the subsite TestSubSite. The protocol client parses the response to collect information about all the lists, users, and groups of the subsite TestSubSite. The parsed response information can be used to call other operations such as GetList to collect additional information about all the lists of the subsite.