The Query Web Service

All of the coding samples we have looked at up to now in this chapter require access to the context of SharePoint. In other words, the code must be executed on the machine that has a SharePoint installation. Applications that are deployed to the users’ desktops are not able to retrieve all of this context information, and as a result, within these types of applications, you cannot use code that directly calls classes and members that are exposed by the different object models you’ve seen. Executing the code remotely entails that you use Web services.

There are many Web services that are part of the infrastructure of a SharePoint installation. Most of them are located in the 12\ISAPI folder. Remote execution of search queries ...

Get Inside the Index and Search Engines: Microsoft® Office SharePoint® Server 2007 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.