Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

2.2.2.2.5 RefreshCache

Synopsis:

This method is invoked by the client to update its cache of mappings between compact RevisionIDs and globally unique update identifiers. The difference between these two types of identifiers is specified in section 3.1.1.

 <wsdl:operation name="RefreshCache" />
 <soap:operation soapAction="http://www.microsoft.com/
    SoftwareDistribution/Server/ClientWebService/RefreshCache" 
    style="document" />

Request:

  
 <s:element name="RefreshCache">
   <s:complexType>
     <s:sequence>
       <s:element minOccurs="0" maxOccurs="1" name="cookie" 
          type="s1:Cookie" />
       <s:element minOccurs="0" maxOccurs="1" name="globalIDs" 
          type="s1:ArrayOfUpdateIdentity" />
     </s:sequence>
   </s:complexType>
 </s:element>

cookie: Specifies a cookie that MUST have been obtained from a previous call to GetCookie (section 2.2.2.2.2), GetFileLocations (section 2.2.2.2.7), or SyncUpdates (section 2.2.2.2.4). This element MUST be present.

globalIDs: An array of UpdateIdentity elements. Its format MUST be as follows.

  
 <s:complexType name="ArrayOfUpdateIdentity">
   <s:sequence>
     <s:element minOccurs="0" maxOccurs="unbounded" name="UpdateIdentity"
        nillable="true" type="s1:UpdateIdentity" />
   </s:sequence>
 </s:complexType>

UpdateIdentity: Identifies an update revision. Its format MUST be as specified in section 2.2.3.6:

Response:

  
 <s:element name="RefreshCacheResponse">
   <s:complexType>
     <s:sequence>
       <s:element minOccurs="0" maxOccurs="1" name="RefreshCacheResult" 
          type="s1:ArrayOfRefreshCacheResult" />
     </s:sequence>
   </s:complexType>
 </s:element>

RefreshCacheResult: Upon successful completion of this operation, this element MUST be returned. Its format MUST be as follows.

  
 <s:complexType name="ArrayOfRefreshCacheResult">
   <s:sequence>
     <s:element minOccurs="0" maxOccurs="unbounded" name="RefreshCacheResult" 
        nillable="true" type="s1:RefreshCacheResult" />
   </s:sequence>
 </s:complexType>

RefreshCacheResult: Specifies information about a specific revision. Its format MUST be as follows.

  
 <s:complexType name="RefreshCacheResult">
   <s:sequence>
     <s:element minOccurs="1" maxOccurs="1" name="RevisionID" 
        type="s:int" />
     <s:element minOccurs="0" maxOccurs="1" name="GlobalID" 
        type="s1:UpdateIdentity" />
     <s:element minOccurs="1" maxOccurs="1" name="IsLeaf" 
        type="s:boolean" />
     <s:element minOccurs="0" maxOccurs="1" name="Deployment" 
        type="s1:Deployment" />
   </s:sequence>
 </s:complexType>

RevisionID: Specifies the new 32-bit integer ID for the revision.

GlobalID: The UpdateIdentity for this revision. This field MUST be present. The format of this field is specified in section 2.2.3.6.

IsLeaf: Specifies whether the revision is a leaf of a hierarchy of updates.

Deployment: The deployment for this revision. This field MUST be present. Its format MUST be as specified in section 2.2.2.2.4.

Each of the above values is specified in more detail in section 3.1.1.

Show:
© 2016 Microsoft