Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
Office 2003
SDK Documentation
Reference
Schemas
Response Schemas
Response Schema
 Microsoft.Search.Response Schema Do...
Office 2003 Research Services SDK
Microsoft.Search.Response Schema Documentation

This topic contains documentation for the Microsoft.Search.Response schema. For the schema itself, see Microsoft.Search.Response Schema.

Documentation for the urn:Microsoft.Search.Response schema

Defines a response packet from a service provider, which can in turn contain several individual responses corresponding to each of the provider's services.

Basic Schema Attributes

AttributeValue
targetNamespaceurn:Microsoft.Search.Response
elementFormDefaultqualified
attributeFormDefaultunqualified (default)

Declared Namespaces

NamespacePrefix
urn:Microsoft.Search.Typest:
urn:Microsoft.Search.Response(default)
http://www.w3.org/2001/XMLSchemaxsd:
http://www.w3.org/XML/1998/namespacexml:

Imported Schemas

namespaceidschemaLocation
urn:Microsoft.Search.Types(none)Microsoft.Search.Types.xsd
urn:Microsoft.Search.Response.Document(none)Microsoft.Search.Response.Document.xsd
urn:Microsoft.Search.Response.Form(none)Microsoft.Search.Response.Form.xsd
urn:Microsoft.Search.Response.Content(none)Microsoft.Search.Response.Content.xsd

Overview

<ResponsePacket>

            <Response>

                        <QueryId/>

                        <Copyright/>

                        <OriginatorContext>

                                    <Any/>

                        </OriginatorContext>

                        <RequeryContext>

                                    <Any/>

                        </RequeryContext>

                        <Range>

                                    <ResultType/>

                                    <StartAt/>

                                    <Count/>

                                    <MustDisplayCount/>

                                    <TotalAvailable/>

                                    <Results>

                                                <Any/>

                                    </Results>

                                    <Any/>

                        </Range>

                        <Status/>

                        <DebugErrorMessage/>

                        <Any/>

            </Response>

            <Any/>

</ResponsePacket>

Top-Level Elements

Element: ResponsePacket

A response from a service provider to a query. The response may contain several individual responses corresponding to the services offered by the provider.

PropertyValue
abstractfalse (default)
nameResponsePacket
nillablefalse (default)
typecomplexType

Attributes

  • Attribute: revision

    Unsigned integer indicating the revision of the schema used in the response.

    PropertyValue
    namerevision
    typexsd:unsignedInt
    useoptional
  • Attribute: build

    The build of the component used to generate the response.

    PropertyValue
    namebuild
    typet:String255
    useoptional
  • Attribute: providerRevision

    Current revision of the provider. If the revision is different from the one the client has stored, Microsoft® Office 2003 will prompt the user to update the service.

    PropertyValue
    nameproviderRevision
    typexsd:unsignedInt
    useoptional

Subelements: Sequence

Elements must appear in the specified order.

  • Element: Response

    An individual response from a service to a query.

    PropertyValue
    abstractfalse (default)
    minOccurs1
    maxOccursunbounded
    nameResponse
    nillablefalse (default)
    typeResponseType
  • Any

    Any element in another namespace. Can be used for extensibility in the future.

    PropertyValue
    namespace##other
    processContentsskip
    minOccurs0
    maxOccursunbounded

Top-Level Types and Groups

  • Complex Type: ResponseType

    Defines an individual response from a service to a query.

    Attributes

    • Attribute: domain

      A unique domain identifier for the service handling the query. The value should match the domain of one of the query elements in the QueryPacket corresponding to this ResponsePacket.

      PropertyValue
      namedomain
      typet:String255
      useoptional

    Subelements: Sequence

    Elements must appear in the specified order.

    • Element: QueryId

      Unique string that identifies the query for tracking purposes. Office always uses a globally unique identifier (GUID).

      PropertyValue
      abstractfalse (default)
      minOccurs0
      maxOccurs1 (default)
      nameQueryId
      nillablefalse (default)
      typet:String255
    • Element: Copyright

      The result can contain a copyright notice if the provider is concerned about misuse of the results. This is not displayed to the user in Office 2003.

      PropertyValue
      abstractfalse (default)
      minOccurs0
      maxOccurs1 (default)
      nameCopyright
      nillablefalse (default)
      typexsd:string
    • Element: OriginatorContext

      Client data that is being round-tripped through the service. The data is passed by the client to the server inside the QueryPacket\Query\Context\OriginatorContext element.

      PropertyValue
      abstractfalse (default)
      minOccurs0
      maxOccurs1 (default)
      nameOriginatorContext
      nillablefalse (default)
      typeOriginatorContextType
    • Element: RequeryContext

      Service data being round-tripped through the client.

      PropertyValue
      abstractfalse (default)
      minOccurs0
      maxOccurs1 (default)
      nameRequeryContext
      nillablefalse (default)
      typeRequeryContextType
    • Element: Range

      The same number of ranges are returned as were queried for, no more, no less. Office will never request more than one range.

      PropertyValue
      abstractfalse (default)
      minOccurs0
      maxOccursunbounded
      nameRange
      nillablefalse (default)
      typeRangeType
    • Element: Status

      Status of the query. It indicates whether the query was successful.

      PropertyValue
      abstractfalse (default)
      minOccurs1
      maxOccurs1 (default)
      nameStatus
      nillablefalse (default)
      typeStatusType
    • Element: DebugErrorMessage

      If Status != SUCCESS, the error message in English is returned here for debugging purposes. This is not displayed to the user in Office.

      PropertyValue
      abstractfalse (default)
      minOccurs0
      maxOccurs1 (default)
      nameDebugErrorMessage
      nillablefalse (default)
      typet:String2048
    • Any

      Any element in another namespace. Can be used for extensibility in the future.

      PropertyValue
      namespace##other
      processContentsskip
      minOccurs0
      maxOccursunbounded
  • Complex Type: OriginatorContextType

    Defines context data from the client to be round-tripped through the service.

    Attributes

    None

    Subelements: Sequence

    Elements must appear in the specified order.

    • Any

      Any element in another namespace. This is an XML island the client passed to the service for round-tripping.

      PropertyValue
      namespace##other
      processContentsskip
      minOccurs1 (default)
      maxOccursunbounded
  • Complex Type: RequeryContextType

    Defines the requery context that a service can have the client pass back, during a requery only. It is an arbitrary XML data island.

    Attributes

    None

    Subelements: Sequence

    Elements must appear in the specified order.

    • Any

      Any element in another namespace. This is an XML island the service is passing to the client for round-tripping.

      PropertyValue
      namespace##other
      processContentsskip
      minOccurs1 (default)
      maxOccursunbounded
  • Complex Type: RangeType

    Defines the Range element containing the results and information about them.

    Attributes

    • Attribute: id

      A unique ID for the Range element.

      PropertyValue
      nameid
      typexsd:string
      useoptional

    Subelements: Sequence

    Elements must appear in the specified order.

    • Element: ResultType

      Optional string describing the type of result. Office will not use the value of this element.

      PropertyValue
      abstractfalse (default)
      minOccurs0
      maxOccursunbounded
      nameResultType
      nillablefalse (default)
      typet:String2048
    • Element: StartAt

      The index of the initial result, based on "1" as the lowest result index.

      PropertyValue
      abstractfalse (default)
      default1
      minOccurs0
      maxOccurs1 (default)
      nameStartAt
      nillablefalse (default)
      typet:StartAtType
    • Element: Count

      Total results of this type to return. Note that fewer than this number may be returned if there are not enough results, and more than this number may be returned due to policy restrictions. If more results are returned, the client should display them all. Absence of Count implies provider discretion.

      PropertyValue
      abstractfalse (default)
      minOccurs0
      maxOccurs1 (default)
      nameCount
      nillablefalse (default)
      typexsd:unsignedInt
    • Element: MustDisplayCount

      Minimum number of results that should be displayed.

      PropertyValue
      abstractfalse (default)
      minOccurs0
      maxOccurs1 (default)
      nameMustDisplayCount
      nillablefalse (default)
      typexsd:unsignedInt
    • Element: TotalAvailable

      The total number available. This number may not be 100% accurate and all these results may not be accessible.

      PropertyValue
      abstractfalse (default)
      minOccurs0
      maxOccurs1 (default)
      nameTotalAvailable
      nillablefalse (default)
      typexsd:unsignedInt
    • Element: Results

      Results can come back in all formats that are specified as supported and the results are returned in the server's preferred order to display. This element is nonexistent if no results are returned.

      PropertyValue
      abstractfalse (default)
      minOccurs0
      maxOccurs1 (default)
      nameResults
      nillablefalse (default)
      typeResultCollectionType
    • Any

      Any element in another namespace. Can be used for extensibility in the future.

      PropertyValue
      namespace##other
      processContentsskip
      minOccurs0
      maxOccursunbounded
  • Complex Type: ResultCollectionType

    Defines a set of results, in any format supported.

    Attributes

    None

    Subelements: Choice

    Only one element can be chosen.

    The maximum number of occurrences (maxOccurs) for the choice is unbounded.

    • Any

      Any element in another namespace. Elements here will be in any results format supported by the client. Office will support the Form, Document, and Content results types.

      PropertyValue
      namespace##other
      processContentsstrict (default)
      minOccurs1 (default)
      minOccurs1 (default)
  • simpleType: StatusType

    Defines the status of the search.

    Base

    basexsd:string

    Restrictions

    RestrictionValue
    enumeration

    SUCCESS

    ERROR

    ERROR_SERVER_TRANSIENT

    ERROR_SERVER

    ERROR_NO_RESPONSE

    ERROR_BAD_RESULTS

    ERROR_NO_RESULTS_FOUND

    ERROR_OUT_OF_ORDER

    ERROR_NO_CONNECTION

    ERROR_NO_AUTHENTICATION

    ERROR_NO_AUTHORIZATION



© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker