Show AllShow All

Building a Research Web Service

Research Web services must contain the Registration and Query Web methods. In addition, the XML packets that these methods use to communicate with the Research task pane must conform to predefined XML schemas in the Microsoft.Search namespace.

ShowResearch service Web methods

Structure of a Research Web Service

You can build a research Web service as a single service that implements both the Registration and the Query methods, or as a pair of services consisting of a separate service for each method. The latter option is possible because the Research task pane registers a provider's RegistrationPath and QueryPath as distinct settings. The samples included with this SDK demonstrate both approaches.

ShowWeb service prototype

ShowImportant considerations when building a research Web service

Processing Requests and Responses

Note  The research Web service samples included with this SDK demonstrate the various approaches discussed in this section.

ShowReading the request

ShowWriting the response

Testing a Research Web Service

ShowTesting tools and approaches

ShowWeb service errors and exceptions

©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