2.2.2.2.9 SyncPrinterCatalog

This method is invoked to synchronize metadata describing the best matching printer drivers for the client. The syntax of this method refers to the following concepts as specified in sections 3.1.1 and 3.2.1.

  • The integer-valued revision ID used to identify an update revision.

  • The string-valued HardwareID, which identifies a hardware device installed on the client machine.

  • The integer-valued deployment ID, which identifies a deployment.

  • The prerequisite relationship between updates.

  • The client metadata cache.

     <wsdl:operation name="SyncPrinterCatalog" />
    

The SOAP operation is defined as follows:

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

Request:

 <s:element name="SyncPrinterCatalog">
   <s:complexType>
     <s:sequence>
       <s:element minOccurs="0" maxOccurs="1" name="cookie" type="tns:Cookie" />
       <s:element minOccurs="0" maxOccurs="1" name="installedNonLeafUpdateIDs" 
          type="tns:ArrayOfInt" />
       <s:element minOccurs="0" maxOccurs="1" name="printerUpdateIDs" 
          type="tns:ArrayOfInt" /> 
     </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.

InstalledNonLeafUpdateIDs: Contains an array of revision IDs of all nonleaf (in the prerequisite graph) revisions in the client cache that are installed on the client. These IDs MUST have been obtained from the UpdateInfo.ID returned from a previous call to SyncUpdates.

printerUpdateIDs: Contains an array of revision IDs of all printer driver updates in the client cache. These IDs MUST have been obtained from the UpdateInfo.ID returned from a previous call to SyncUpdates.

Response:

 <s:element name="SyncPrinterCatalogResponse">
   <s:complexType>
     <s:sequence>
       <s:element minOccurs="0" maxOccurs="1" name="SyncPrinterCatalogResult" 
          type="s1:SyncInfo" />
     </s:sequence>
   </s:complexType>
 </s:element>

SyncPrinterCatalogResult: Upon successful completion of this operation, this element MUST be returned. The client SHOULD interpret this result, as specified in section 3.1.5.7. The format is the same as the one defined in the Response section of 2.2.2.2.4.