Show AllShow All

Handling Registration Requests

Each research service that is available on a client computer is defined by a group of registry settings. Therefore, installing or deploying a research service involves adding those registry settings to the client computer. The Registration Web method of a research Web service sends the values for those settings to the client computer when the user chooses to add the service by typing in the URL, or by selecting an advertised service. The Research task pane creates the registry settings based on the registration response.

Note  Administrators can also register research services on client computers by using methods that transfer the required registry settings without the use of the Registration Web method. For more information, see Deployment Overview.

Important  Although we talk about registering a research service, the normal registration process registers a research service provider, along with the research service or services that the provider chooses to register on the user's computer. While the provider (through logic in the Registration method) can programmatically select which services to install, the user does not have an equivalent option in the Research task pane user interface to select or exclude individual services at the time of registration. In some cases, the provider may choose to install services, but not to activate them, by setting their Display setting to "Off." The user can activate or deactivate services at any time, from the Research Options dialog box.

Registration Web Method

The Registration Web method receives an incoming string value from the Research task pane in the form of an XML document that conforms to the Microsoft.Search.Registration.Request.xsd schema, and returns a string value describing the provider and its services in the form of an XML document that conforms to the Microsoft.Search.Registration.Response.xsd schema.

ShowRegistration method prototype

Format of the Registration Request and Response

The registration request and response can contain the following elements and attributes. Optional attributes that are not currently used have been omitted.

ShowFormat of the registration request

ShowFormat of the registration response

Elements of the Registration Request and Response

For examples of the elements in a typical registration request and response, see the sample registration request and the sample registration response later in this topic.

ShowLanguage elements in the registration request

ShowMapping of provider elements in the registration response

ShowMapping of service elements in the registration response

Walkthrough: Sample Registration Request, Response, and Code

ShowSample registration request

ShowSample registration response

ShowSample registration response code

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp