File: rsArchitectureDev.htm

package info (click to toggle)
office2003-schemas 1.0%2Bds-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, forky, sid, trixie
  • size: 42,304 kB
  • sloc: javascript: 2,429; makefile: 29
file content (9 lines) | stat: -rw-r--r-- 5,213 bytes parent folder | download
1
2
3
4
5
6
7
8
9
<html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01083645"><META NAME="lcid" CONTENT="1033"><title>Research Architecture from a Developer Perspective</title><link rel="stylesheet" type="text/css" href="office10.css"><script type="text/javascript" language="Javascript" src="ExpCollapse.js"></script><script type="text/javascript" language="JavaScript" src="inline.js"></script></head><body><p id="ExpandAllLine" class="ExpFav"><a href="#" onclick="ExpandAll()" onkeypress="ExpandAll()" class="DropDown"><img id="picHeader" border="0" src="expandtri.gif" alt="Show All"><span id="ExpandAll">Show All</span></a></p><h1>Research Architecture from a Developer Perspective</h1><p>The architecture of research services is easy to understand. The developer builds a custom research service or set of services as an XML Web service or pair of Web services. This Web service corresponds to a "provider" and can process various types of searches, each of which corresponds to a "service." For more information, see <a href="rsArchitectureIT.htm" id="HV01082298" lcid=" ">Research Architecture from an IT Perspective</a>.</p><p>All communication between the <b class="ui">Research</b> task pane and the Web services that it queries uses Simple Object Access Protocol (SOAP) messages. These SOAP messages contain XML packets that conform to schemas specific to each type of request and response. For more information about the schemas that define the terms of research service communication, see <a href="rsReferenceSchemas.htm" id="HV01082292" lcid=" ">XML Schemas Overview</a>.</p><p><a href="#" class="DropDown" onclick="Outline2()" onkeypress="Outline2()"><img border="0" src="blueup.gif" alt="Show">The <b class="bterm">Registration</b> and <b class="bterm">Query</b> methods</a></p><div id="ExpCol" class="collapsed" border="0"><p>The developer of a custom research service must write code to respond to the two scenarios in which Microsoft® Office 2003 clients contact the service: when the user registers the service for the first time (or updates it later), and when the user queries the service. Therefore, the XML Web service normally contains the <b class="bterm">Registration</b> and <b class="bterm">Query</b> methods that respond to these two events. In both cases, the <b class="ui">Research</b> task pane sends a properly formatted request packet to the Web service, and the Web service responds with a response packet that conforms to the appropriate schemas.</p><p>For more information, see <a href="rsRegistrationInterface.htm" id="HV01082272" lcid=" ">Handling Registration Requests</a> and <a href="rsQueryInterface.htm" id="HV01082269" lcid=" ">Handling Queries</a>.</p><p><b>Note</b>  The <b class="bterm">Registration</b> Web method is invoked when users add a service manually by entering the URL, and when a service is advertised on discovery servers. For more information, see <a href="rsDeploymentOverview.htm" id="HV01082278" lcid=" ">Deployment Overview</a>. The <b class="bterm">Registration</b> method is also used to update or remove a service. For more information, see <a href="rsUpdating.htm" id="HV01082282" lcid=" ">Updating and Removing Services</a>.</p></div><p><a href="#" class="DropDown" onclick="Outline2()" onkeypress="Outline2()"><img border="0" src="blueup.gif" alt="Show">Developer options for search results</a></p><div id="ExpCol" class="collapsed" border="0"><p>The <b class="ui">Research</b> task pane uses XML for all communications and for the display and manipulation of search results. The layout of results is very flexible, because developers can use XML and smart tags to provide rich formatting, collapsible lists, intelligent content-based actions, and so forth.</p><p>Research service providers can specify custom actions for the content they return. These actions are presented to users by using the same mechanism that is used to expose built-in content actions, such as inserting and copying. The actions themselves are carried out through smart tags provided by the service provider. Therefore, the <b class="ui">Research</b> task pane does not need to maintain information about smart tags. For example, a research service may return a response containing a smart tag that allows users to obtain additional live data, transform the response text, or some other action. An <b class="bterm">Insert</b> action can also insert content into Microsoft Office Word 2003 and Microsoft Office Excel 2003 documents as XML, allowing additional actions to become available within the document.</p><p>For more information, see <a href="rsBuildingActionsWithSmartTags.htm" id="HV01082270" lcid=" ">Adding Actions to Query Results</a>.</p></div><center><a href="XMLSchemaCopyright_HV01147162.htm">&copy;2003-2004 Microsoft Corporation. All rights reserved.</a>  

Permission to copy, display and distribute this document is available at: <a 

href="http://r.office.microsoft.com/r/rlidAWSContentRedir?AssetID=XT010988631033&amp;CTT=11&amp;Origin=HV011232471033" 

target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html>