Partager via


4 Protocol Examples

 The following samples show sequences of messages exchanged in various steps within the protocol. All protocol messages are wrapped inside the <soap:Envelope> and <soap:Body> elements. To simplify the examples, only the first two messages, GetAuthConfig Request and GetAuthConfig Response, in sample 1 and the SOAP fault in sample 3 illustrate the use of these SOAP elements.

Sample 1: Authorization

The following sample message sequence shows how the Authorization step is performed between a DSS and a USS. All requests flow from the DSS to the USS, and all responses flow from the USS to the DSS. This sample shows three request-response exchanges.

  • GetAuthConfig

  • GetAuthorizationCookie

  • GetCookie

     <!-- AUTHORIZATION PHASE: GetAuthConfig() Request -->
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <GetAuthConfig 
                             xmlns="http://www.microsoft.com/SoftwareDistribution" />
       </soap:Body>
     </soap:Envelope>
     <!-- AUTHORIZATION PHASE: GetAuthConfig() Response - Success -->
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <GetAuthConfigResponse 
                               xmlns="http://www.microsoft.com/SoftwareDistribution">
           <GetAuthConfigResult>
             <LastChange>2006-06-07T20:41:50.883Z</LastChange>
             <AuthInfo>
               <AuthPlugInInfo>
                 <PlugInID>DssTargeting</PlugInID>
           <ServiceUrl>DssAuthWebService/DssAuthWebService.asmx</ServiceUrl>
                 <Parameter />
               </AuthPlugInInfo>
             </AuthInfo>
           </GetAuthConfigResult>
         </GetAuthConfigResponse>
       </soap:Body>
     </soap:Envelope>
     <!-- AUTHORIZATION PHASE: GetAuthorizationCookie() Request -->
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <GetAuthorizationCookie xmlns="http://www.microsoft.com/SoftwareDistribution/Server/DssAuthWebService">
           <accountName>HemantTest.redmond.microsoft.com</accountName>
           <accountGuid>ADB2FE48-0B2E-451e-8FC8-44B29845B0C6</accountGuid>
         </GetAuthorizationCookie>
     <!-- AUTHORIZATION PHASE: GetAuthorizationCookie() Response - Success -->
         <GetAuthorizationCookieResponse
      xmlns="http://www.microsoft.com/SoftwareDistribution/Server/DssAuthWebService">
           <GetAuthorizationCookieResult>
             <PlugInId>DssTargeting</PlugInId>
             <CookieData>4VEGgCdh/cuG4BSwhzLDomn2BAcYKl45Po5CmuBbOlRXfwhmBopYbLUHLWP
               <!--................................. -->
               <!--.....CookieData BLOB TRIMMED..... -->
               <!--................................. -->
     EHsBFG</CookieData>
           </GetAuthorizationCookieResult>
         </GetAuthorizationCookieResponse>
       </soap:Body>
     </soap:Envelope>
     <!-- AUTHORIZATION PHASE: GetCookie() Request -->
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <GetCookie xmlns="http://www.microsoft.com/SoftwareDistribution">
           <authCookies>
             <AuthorizationCookie>
               <PlugInId>DssTargeting</PlugInId>
               <CookieData>4VEGgCdh/cuG4BSwhzLDomn2BAcYKl45Po5CmuBbOlRXfwhmBopYbLUHLW
               <!--................................. -->
               <!--.....CookieData BLOB TRIMMED..... -->
               <!--................................. -->
     EHsBFG</CookieData>
             </AuthorizationCookie>
           </authCookies>
           <protocolVersion>1.2</protocolVersion>
         </GetCookie>
     <!-- AUTHORIZATION PHASE: GetCookie() Response - Success -->
         <GetCookieResponse xmlns="http://www.microsoft.com/SoftwareDistribution">
           <GetCookieResult>
             <Expiration>2006-06-08T19:32:23.7190987Z</Expiration>
             <EncryptedData>edzLnPhI/Rjr6CBMlcP+fuCRNBKREOtAw9yEMe6EF3oXXvU/N67oNV/An
     L5eN3ZAA+jOoJzdcdJmc9za5M3B0jqBSnZsWch8waYEVNqd+eLx1EMBCK2v9lb+oXtMGw05PgQJAHtZP
     Rk5h4bCN4hxaCaI7JJaN7VWiWBQLh9HAKoBEm7WpOyJgnr7acYoEf64KOrB+aRc0QFuNnLsNYPNQKmxl
     7R+cGkS</EncryptedData>
           </GetCookieResult>
         </GetCookieResponse>
       </soap:Body>
     </soap:Envelope>
      
    

Sample 2: Metadata and Deployments Synchronization

The following sample message sequences show how this protocol is used during the Metadata Synchronization and Deployments Synchronization phases. This is not a complete conversation between a DSS and a USS. Specifically, the array fields in the content of the message are trimmed to reduce the space required for this illustration. All requests flow from the DSS to the USS, and all responses flow from the USS to the DSS.

This sample shows four request-response exchanges.

  • GetConfigData

  • GetRevisionIdList

  • GetUpdateData

  • GetDeployments

     <?xml version="1.0" encoding="utf-8"?>
     <!-- META-DATA SYNC PHASE: GetConfigData() Request -->
         <GetConfigData xmlns="http://www.microsoft.com/SoftwareDistribution">
           <cookie>
             <Expiration>2006-06-08T19:32:23.7190987Z</Expiration>
     <EncryptedData>edzLnPhI/Rjr6CBMlcP+fuCRNBKREOtAw9yEMe6EF3oXXvU/N67oNV/AnL5eN3ZAA
     +jOoJzdcdJmc9za5M3B0jqBSnZsWch8waYEVNqd+eLx1EMBCK2v9lb+oXtMGw05PgQJAHtZPRk5h4bCN
     4hxaCaI7JJaN7VWiWBQLh9HAKoBEm7WpOyJgnr7acYoEf64KOrB+aRc0QFuNnLsNYPNQKmxl7R+cGkS<
     /EncryptedData>
           </cookie>
         </GetConfigData>
     <!-- META-DATA SYNC PHASE: GetConfigData() Response -->
         <GetConfigDataResponse 
                               xmlns="http://www.microsoft.com/SoftwareDistribution">
           <GetConfigDataResult>
             <CatalogOnlySync>true</CatalogOnlySync>
             <LazySync>true</LazySync>
             <ServerHostsPsfFiles>false</ServerHostsPsfFiles>
             <MaxNumberOfUpdatesPerRequest>100</MaxNumberOfUpdatesPerRequest>
             <NewConfigAnchor>14030,2006-06-08 15:38:16.022</NewConfigAnchor>
             <LanguageUpdateList>
               <ServerSyncLanguageData>
                 <LanguageID>0</LanguageID>
                 <ShortLanguage>all</ShortLanguage>
                 <LongLanguage>all</LongLanguage>
                 <Enabled>true</Enabled>
               </ServerSyncLanguageData>
               <ServerSyncLanguageData>
                 <LanguageID>1033</LanguageID>
                 <ShortLanguage>en</ShortLanguage>
                 <LongLanguage>English</LongLanguage>
                 <Enabled>false</Enabled>
               </ServerSyncLanguageData>
             </LanguageUpdateList>
           </GetConfigDataResult>
         </GetConfigDataResponse>
     <!-- META-DATA SYNC PHASE: GetRevisionIdList() Request -->
         <GetRevisionIdList xmlns="http://www.microsoft.com/SoftwareDistribution">
           <cookie>
             <Expiration>2006-05-26T22:59:25.1296674Z</Expiration>
             <EncryptedData>c7jG7GX4Czeq+uO8twkF3uNyVfDX6G2bXwIUKk114C+BOl80eXz9YToko
     +KAMpO50h16kmztwMUn4i7bJ7AQw64t05Xtgfmf9F42JG1mADwLmRUSAIxnWEpKJe4fmdUzHPKjUWbKB
     Pi2UijibE2jZ4y177B3vafHo3RtM7NM2lMi/VWXxHwlNKvMYvzOrOvXPNuDJtTM3AOHGzW2MlZ4daT7T
     Usd5m6g</EncryptedData>
           </cookie>
           <filter>
             <GetConfig>true</GetConfig>
             <Get63LanguageOnly>false</Get63LanguageOnly>
           </filter>
         </GetRevisionIdList>
     <!-- META-DATA SYNC PHASE: GetRevisionIdList() Response -->
         <GetRevisionIdListResponse 
                               xmlns="http://www.microsoft.com/SoftwareDistribution">
           <GetRevisionIdListResult>
             <Anchor>4742,2006-05-26 18:59:26.192</Anchor>
             <NewRevisions>
               <UpdateIdentity>
                 <UpdateID>0287014e-6772-4b4d-81f7-42063ac26e8a</UpdateID>
                 <RevisionNumber>100</RevisionNumber>
               </UpdateIdentity>
               <!--....................... -->
               <!--.....ARRAY TRIMMED..... -->
               <!--....................... -->
               <UpdateIdentity>
                 <UpdateID>ff2a96fb-cc89-4e5e-83b2-7d48aa179840</UpdateID>
                 <RevisionNumber>101</RevisionNumber>
               </UpdateIdentity>
             </NewRevisions>
           </GetRevisionIdListResult>
         </GetRevisionIdListResponse>
     <!-- META-DATA SYNC PHASE: GetUpdateData() Request -->
         <GetUpdateData xmlns="http://www.microsoft.com/SoftwareDistribution">
           <cookie>
             <Expiration>2006-05-27T22:42:23.0632331Z</Expiration>
             <EncryptedData>XXRQXVUzH9NX5Qvos3IL4F31UmlUgdVSVFm450d+O9A32AyPyTo66g4Vl
     MA48PRBtRsvajGUYA+CDNeF/ylHxuy48MUWiTJK68AJHO1V+Z6sfBDDnCTVlFc8z7UUQHguLLTXx0B4h
     kHhm5FSRMH03ei7mDJnhGstnEhu2hjASXU8uvespc7yt5BtoPCamiNEJQR2WgCImaw3S96AubSSKxDv9
     yEAChjO</EncryptedData>
           </cookie>
           <updateIds>
             <UpdateIdentity>
               <UpdateID>0287014e-6772-4b4d-81f7-42063ac26e8a</UpdateID>
               <RevisionNumber>100</RevisionNumber>
             </UpdateIdentity>
             <!--....................... -->
             <!--.....ARRAY TRIMMED..... -->
             <!--....................... -->
             <UpdateIdentity>
               <UpdateID>36b1c48e-c741-4047-9b09-d38698ed34b3</UpdateID>
               <RevisionNumber>101</RevisionNumber>
             </UpdateIdentity>
           </updateIds>
         </GetUpdateData>
     <!-- META-DATA SYNC PHASE: GetUpdateData() Response -->
         <GetUpdateDataResponse 
                               xmlns="http://www.microsoft.com/SoftwareDistribution">
           <GetUpdateDataResult>
             <updates>
               <ServerSyncUpdateData>
                 <Id>
                   <UpdateID>0fa1201d-4330-4fa8-8ae9-b877473b6441</UpdateID>
                   <RevisionNumber>1</RevisionNumber>
                 </Id>
                 <XmlUpdateBlobCompressed>TVNDRgAAAABfCwAAAAAAACwAAAAAAAAAAwEBAAEAAAA
     AAAAAQQAAAAEAAxU2NgAAAAAAAAAAAAAAAAAAYmxvYgBLKmjgFgs2NluAgI0
               <!--................................. -->
               <!--.....COMPRESSED BLOB TRIMMED..... -->
               <!--................................. -->
     COEqHYXEGOORfjDFecM5DTHmuLzJUxYNb5WUkHxosE1dCv1cNwrigJVvwU8EsqzX2z0UOqAxw==</Xml
     UpdateBlobCompressed>
               </ServerSyncUpdateData>
               <!--....................... -->
               <!--.....ARRAY TRIMMED..... -->
               <!--....................... -->
               <ServerSyncUpdateData>
                 <Id>
                   <UpdateID>17e993cd-cf5a-4276-9944-6af62ff7139c</UpdateID>
                   <RevisionNumber>100</RevisionNumber>
                 </Id>
                 <XmlUpdateBlob>
                   <upd:Update
          xmlns:pub="http://schemas.microsoft.com/msus/2002/12/Publishing"
          xmlns:mar="http://schemas.microsoft.com/msus/2002/12/MsiApplicabilityRules" 
          xmlns:upd="http://schemas.microsoft.com/msus/2002/12/Update">
                     <upd:UpdateIdentity
                                      UpdateID="17e993cd-cf5a-4276-9944-6af62ff7139c"
                                      RevisionNumber="100" />
                     <upd:Properties
                                DefaultPropertiesLanguage="en"
                                UpdateType="Detectoid"
                                ExplicitlyDeployable="false"
                                IsPublic="false"
                                DetectoidType="Application Locale"
                                PublicationState="Published"
                                CreationDate="2006-05-22T19:10:10.172Z"
                                PublisherID="dd79a08b-c3c2-4e05-9862-ee90f9585e33" />
                     <upd:LocalizedPropertiesCollection>
                       <upd:LocalizedProperties>
                         <upd:Language>en</upd:Language>
                         <upd:Title>SQL 2005 English ia64</upd:Title>
                       </upd:LocalizedProperties>
                     </upd:LocalizedPropertiesCollection>
                     <upd:Relationships>
                       <upd:Prerequisites>
                         <upd:UpdateIdentity
                                   UpdateID="60916385-7546-4e9b-836e-79d65e517bab" />
                       </upd:Prerequisites>
                     </upd:Relationships>
                     <upd:ApplicabilityRules>
                       <upd:IsInstalled>
                         <mar:MsiProductInstalled
       ProductCode="{3c4a397d-22b2-4ab0-849f-f5e12672caca}"
       ExcludeVersionMax="true"
       VersionMin="9.00.1399.06"
       Language="1033"
       xmlns:mar="http://schemas.microsoft.com/msus/2002/12/MsiApplicabilityRules" />
                       </upd:IsInstalled>
                     </upd:ApplicabilityRules>
                   </upd:Update>
                 </XmlUpdateBlob>
               </ServerSyncUpdateData>
             </updates>
             <fileUrls />
           </GetUpdateDataResult>
         </GetUpdateDataResponse>
     <!-- DEPLOYMENTS SYNC PHASE: GetDeployments() Request -->
         <GetDeployments xmlns="http://www.microsoft.com/SoftwareDistribution">
           <cookie>
             <Expiration>2006-05-26T22:59:25.1296674Z</Expiration>
             <EncryptedData>c7jG7GX4Czeq+uO8twkF3uNyVfDX6G2bXwIUKk114C+BOl80eXz9YToko
     +KAMpO50h16kmztwMUn4i7bJ7AQw64t05Xtgfmf9F42JG1mADwLmRUSAIxnWEpKJe4fmdUzHPKjUWbKB
     Pi2UijibE2jZ4y177B3vafHo3RtM7NM2lMi/VWXxHwlNKvMYvzOrOvXPNuDJtTM3AOHGzW2MlZ4daT7T
     Usd5m6g</EncryptedData>
           </cookie>
           <syncAnchor>4742,2006-05-26 18:59:26.192</syncAnchor>
         </GetDeployments>
     <!-- DEPLOYMENTS SYNC PHASE: GetDeployments() Response -->
         <GetDeploymentsResponse 
                               xmlns="http://www.microsoft.com/SoftwareDistribution">
           <GetDeploymentsResult>
             <Anchor>4742,2006-05-26 18:59:26.192</Anchor>
             <Groups>
               <ServerSyncTargetGroup>
                 <TargetGroupID>a0a08746-4dbe-4a37-9adf-9e7652c0b421</TargetGroupID>
                 <ParentGroupId>00000000-0000-0000-0000-000000000000</ParentGroupId>
                 <Name>All Computers</Name>
                 <IsBuiltin>true</IsBuiltin>
               </ServerSyncTargetGroup>
               <ServerSyncTargetGroup>
                 <TargetGroupID>b73ca6ed-5727-47f3-84de-015e03f6a88a</TargetGroupID>
                 <Name>Unassigned Computers</Name>
                 <IsBuiltin>true</IsBuiltin>
               </ServerSyncTargetGroup>
             </Groups>
             <Deployments>
               <ServerSyncDeployment>
                 <UpdateId>4b62aa32-52f6-4c15-b739-1c8e696eb33e</UpdateId>
                 <RevisionNumber>100</RevisionNumber>
                 <Action>0</Action>
                 <AdminName>WUS Server</AdminName>
                 <Deadline>9999-12-31T23:59:59.9999999</Deadline>
                 <IsAssigned>true</IsAssigned>
                 <GoLiveTime>2006-05-24T15:37:08.887</GoLiveTime>
                 <DeploymentGuid>c2f2ca62-5413-419a-bdee-275a23087758</DeploymentGuid
     > 
                 <TargetGroupId>b73ca6ed-5727-47f3-84de-015e03f6a88a</TargetGroupId>
                 <DownloadPriority>1</DownloadPriority>
               </ServerSyncDeployment>
               <!--....................... -->
               <!--.....ARRAY TRIMMED..... -->
               <!--....................... -->
               <ServerSyncDeployment>
                 <UpdateId>52bdd083-4169-4094-8eea-6230c7c1520d</UpdateId>
                 <RevisionNumber>102</RevisionNumber>
                 <Action>0</Action>
                 <AdminName>WUS Server</AdminName>
                 <Deadline>9999-12-31T23:59:59.9999999</Deadline>
                 <IsAssigned>true</IsAssigned>
                 <GoLiveTime>2006-05-24T15:59:33.063</GoLiveTime>
                 <DeploymentGuid>10a2030d-0ac1-434a-9c37-732fc36f9838</DeploymentGuid
     > 
                 <TargetGroupId>b73ca6ed-5727-47f3-84de-015e03f6a88a</TargetGroupId>
                 <DownloadPriority>1</DownloadPriority>
               </ServerSyncDeployment>
             </Deployments>
             <DeadDeployments />
             <HiddenUpdates>
               <guid>9a9bafe2-fbfc-4b0b-8479-49a2bb08cd5a</guid>
               <!--....................... -->
               <!--.....ARRAY TRIMMED..... -->
               <!--....................... -->
               <guid>6c9d9217-0e1d-434a-a938-d9918703c361</guid>
             </HiddenUpdates>
             <AcceptedEulas />
           </GetDeploymentsResult>
         </GetDeploymentsResponse>
    

Sample 3: Reporting Data Synchronization

The following sample message sequences show how this protocol is used during the Reporting Data Synchronization phase. This is not a complete conversation between a DSS and a USS. Specifically, the array fields in the content of the message are trimmed to reduce the space required for this illustration. Furthermore, the sample only shows one message for each of the following: RollupDownstreamServers, RollupComputers, GetOutOfSyncComputers, and RollupComputerStatus; a complete conversation can consist of any number of calls being made to each of these methods.

All requests flow from the DSS to the USS, and all responses flow from the USS to the DSS.

This sample shows five request-response exchanges.

  1. GetRollupConfiguration

  2. RollupDownstreamServers

  3. RollupComputers

  4. GetOutOfSyncComputers

  5. RollupComputerStatus

     <!-- REPORTING DATA SYNC PHASE: GetRollupConfiguration request -->
     <?xml version="1.0" encoding="utf-8"?>
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <GetRollupConfiguration
                               xmlns="http://www.microsoft.com/SoftwareDistribution">
           <cookie>
             <Expiration>9999-12-31T23:59:59.9999999</Expiration>
             <EncryptedData />
           </cookie>
         </GetRollupConfiguration>
       </soap:Body>
     </soap:Envelope>
     <!-- REPORTING DATA SYNC PHASE: GetRollupConfiguration response -->
     <?xml version="1.0" encoding="utf-8"?>
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <GetRollupConfigurationResponse
                               xmlns="http://www.microsoft.com/SoftwareDistribution">
           <GetRollupConfigurationResult>
             <DoDetailedRollup>true</DoDetailedRollup>
             <RollupResetGuid>3277f62c-fa08-468f-873f-2f9867bcf9e5</RollupResetGuid>
             <ServerId>059ab167-8a19-4bab-befc-daaab5b1d82b</ServerId>
             <RollupDownstreamServersMaxBatchSize>5000</RollupDownstreamServersMaxBat
     chSize>
             <RollupComputersMaxBatchSize>1500</RollupComputersMaxBatchSize>
             <GetOutOfSyncComputersMaxBatchSize>20000</GetOutOfSyncComputersMaxBatchS
     ize>
             <RollupComputerStatusMaxBatchSize>500</RollupComputerStatusMaxBatchSize>
           </GetRollupConfigurationResult>
         </GetRollupConfigurationResponse>
       </soap:Body>
     </soap:Envelope>
     <!-- REPORTING DATA SYNC PHASE: RollupDownstreamServers request -->
     <?xml version="1.0" encoding="utf-8"?>
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <RollupDownstreamServers
                               xmlns="http://www.microsoft.com/SoftwareDistribution">
           <cookie>
             <Expiration>9999-12-31T23:59:59.9999999</Expiration>
             <EncryptedData />
           </cookie>
           <clientTime>2007-03-06T03:28:02.5507362Z</clientTime>
           <downstreamServers>
             <DownstreamServerRollupInfo>
               <ServerId>050cee4a-aaff-470c-8fc3-7a94cb3a4293</ServerId>
               <FullDomainName>yasufs64.ntdev.corp.microsoft.com</FullDomainName>
               <LastSyncTime>0001-01-01T00:00:00</LastSyncTime>
               <ParentServerId>00000000-0000-0000-0000-000000000000</ParentServerId>
               <Version>3.0.6000.354</Version>
               <IsReplica>true</IsReplica>
               <LastRollupTime>2007-03-06T03:28:01.894503Z</LastRollupTime>
               <ServerSummary>
                 <UpdateCount>1002</UpdateCount>
                 <DeclinedUpdateCount>29</DeclinedUpdateCount>
                 <ApprovedUpdateCount>2</ApprovedUpdateCount>
                 <NotApprovedUpdateCount>971</NotApprovedUpdateCount>
                 <UpdatesWithStaleUpdateApprovalsCount>0</UpdatesWithStaleUpdateAppro
     valsCount>
                 <ExpiredUpdateCount>1</ExpiredUpdateCount>
                 <CriticalOrSecurityUpdatesNotApprovedForInstallCount>953</CriticalOr
     SecurityUpdatesNotApprovedForInstallCount>
                 <WsusInfrastructureUpdatesNotApprovedForInstallCount>3</WsusInfrastr
     uctureUpdatesNotApprovedForInstallCount>
                 <UpdatesWithClientErrorsCount>0</UpdatesWithClientErrorsCount>
                 <UpdatesWithServerErrorsCount>0</UpdatesWithServerErrorsCount>
                 <UpdatesNeedingFilesCount>0</UpdatesNeedingFilesCount>
                 <UpdatesNeededByComputersCount>1</UpdatesNeededByComputersCount>
                 <UpdatesUpToDateCount>972</UpdatesUpToDateCount>
                 <CustomComputerTargetGroupCount>0</CustomComputerTargetGroupCount>
                 <ComputerTargetCount>1</ComputerTargetCount>
                 <ComputerTargetsNeedingUpdatesCount>1</ComputerTargetsNeedingUpdates
     Count>
                 <ComputerTargetsWithUpdateErrorsCount>0</ComputerTargetsWithUpdateEr
     rorsCount>
                 <ComputersUpToDateCount>0</ComputersUpToDateCount>
               </ServerSummary>
               <ClientSummaries>
                 <DownstreamServerRollupClientSummary>
                   <OSMajorVersion>5</OSMajorVersion>
                   <OSMinorVersion>2</OSMinorVersion>
                   <OSBuildNumber>3790</OSBuildNumber>
                   <OSServicePackMajorNumber>1</OSServicePackMajorNumber>
                   <OSServicePackMinorNumber>0</OSServicePackMinorNumber>
                   <OSLocale>en-US</OSLocale>
                   <SuiteMask>272</SuiteMask>
                   <OldProductType>3</OldProductType>
                   <NewProductType>0</NewProductType>
                   <SystemMetrics>0</SystemMetrics>
                   <ProcessorArchitecture>AMD64</ProcessorArchitecture>
                   <Count>1</Count>
                   <ActivitySummaries>
                     <DownstreamServerRollupClientActivitySummary>
                       <UpdateId>63ee225f-897d-42ae-841e-4a383c92f350</UpdateId>
                       <RevisionNumber>101</RevisionNumber>
                       <InstallSuccessCount>1</InstallSuccessCount>
                       <InstallFailureCount>0</InstallFailureCount>
                     </DownstreamServerRollupClientActivitySummary>
                   </ActivitySummaries>
                 </DownstreamServerRollupClientSummary>
               </ClientSummaries>
             </DownstreamServerRollupInfo>
           </downstreamServers>
         </RollupDownstreamServers>
       </soap:Body>
     </soap:Envelope>
     <!-- REPORTING DATA SYNC PHASE: RollupDownstreamServers response -->
     <?xml version="1.0" encoding="utf-8"?>
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <RollupDownstreamServersResponse
                             xmlns="http://www.microsoft.com/SoftwareDistribution" />
       </soap:Body>
     </soap:Envelope>
     <!-- REPORTING DATA SYNC PHASE: RollupComputers request -->
     <?xml version="1.0" encoding="utf-8"?>
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <RollupComputers xmlns="http://www.microsoft.com/SoftwareDistribution">
           <cookie>
             <Expiration>9999-12-31T23:59:59.9999999</Expiration>
             <EncryptedData />
           </cookie>
           <clientTime>2007-03-06T03:28:02.9726004Z</clientTime>
           <computers>
             <ComputerRollupInfo
                               ComputerId="d07a4d51-7cb2-46d1-ad86-91195cb4325a"
                               LastSyncTime="2007-03-06T03:22:28.137Z"
                               LastSyncResult="1"
                               LastReportedRebootTime="0001-01-01T00:00:00"
                               LastReportedStatusTime="2007-03-06T03:27:59.377Z"
                               LastInventoryTime="0001-01-01T00:00:00"
                               ParentServerId="050cee4a-aaff-470c-8fc3-7a94cb3a4293">
               <Details
                               IPAddress="127.0.0.1"
                               FullDomainName="yasufs64.ntdev.corp.microsoft.com"
                               OSMajorVersion="5"
                               OSMinorVersion="2"
                               OSBuildNumber="3790"
                               OSServicePackMajorNumber="1"
                               OSServicePackMinorNumber="0"
                               OSLocale="en-US"
                               ComputerMake="Hewlett-Packard"
                               ComputerModel="HP Compaq dc7600 Convertible Minitower"
                               BiosVersion="786D1 v01.03"
                               BiosName="Default System BIOS"
                               BiosReleaseDate="2005-05-18T00:00:00Z"
                               ProcessorArchitecture="AMD64"
                               SuiteMask="272"
                               OldProductType="3"
                               NewProductType="0"
                               SystemMetrics="0"
                               ClientVersion="7.0.6000.354">
                 <TargetGroupIdList>
                   <guid>b73ca6ed-5727-47f3-84de-015e03f6a88a</guid>
                 </TargetGroupIdList>
                 <RequestedTargetGroupNames>
                   <string>Windows Server 2003</string>
                   <string>Servers</string>
                 </RequestedTargetGroupNames>
               </Details>
             </ComputerRollupInfo>
           </computers>
         </RollupComputers>
       </soap:Body>
     </soap:Envelope>
     <!-- REPORTING DATA SYNC PHASE: RollupComputers response -->
     <?xml version="1.0" encoding="utf-8"?>
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <RollupComputersResponse
                              xmlns="http://www.microsoft.com/SoftwareDistribution">
           <RollupComputersResult />
         </RollupComputersResponse>
       </soap:Body>
     </soap:Envelope>
     <!-- REPORTING DATA SYNC PHASE: GetOutOfSyncComputers request -->
     <?xml version="1.0" encoding="utf-8"?>
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <GetOutOfSyncComputers
                               xmlns="http://www.microsoft.com/SoftwareDistribution">
           <cookie>
             <Expiration>9999-12-31T23:59:59.9999999</Expiration>
             <EncryptedData />
           </cookie>
           <parentServerId>050cee4a-aaff-470c-8fc3-7a94cb3a4293</parentServerId>
           <lastRollupNumbers>
             <ComputerLastRollupNumber>
               <ComputerId>d07a4d51-7cb2-46d1-ad86-91195cb4325a</ComputerId>
               <RollupNumber>2</RollupNumber>
             </ComputerLastRollupNumber>
           </lastRollupNumbers>
         </GetOutOfSyncComputers>
       </soap:Body>
     </soap:Envelope>
     <!-- REPORTING DATA SYNC PHASE: GetOutOfSyncComputers response -->
     <?xml version="1.0" encoding="utf-8"?>
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <GetOutOfSyncComputersResponse
                               xmlns="http://www.microsoft.com/SoftwareDistribution">
           <GetOutOfSyncComputersResult />
         </GetOutOfSyncComputersResponse>
       </soap:Body>
     </soap:Envelope>
     <!-- REPORTING DATA SYNC PHASE: RollupComputerStatus request -->
     <?xml version="1.0" encoding="utf-8"?>
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <RollupComputerStatus xmlns="http://www.microsoft.com/SoftwareDistribution">
           <cookie>
             <Expiration>9999-12-31T23:59:59.9999999</Expiration>
             <EncryptedData />
           </cookie>
           <clientTime>2007-03-06T03:39:24.2520342Z</clientTime>
           <parentServerId>050cee4a-aaff-470c-8fc3-7a94cb3a4293</parentServerId>
           <computers>
             <ComputerStatusRollupInfo>
               <InstanceId>14720b83-5998-41f7-b586-6088cd8acd0c</InstanceId>
               <ComputerId>d07a4d51-7cb2-46d1-ad86-91195cb4325a</ComputerId>
               <EffectiveLastDetectionTime>2007-03-06T01:47:46.42Z</EffectiveLastDete
     ctionTime>
               <RollupNumber>3</RollupNumber>
               <IsFullRollup>true</IsFullRollup>
               <UpdateStatus>
                 <ComputerStatusRollupUpdateStatus>
                   <UpdateId>09de7a79-5c09-4f3a-972e-cc1bbb7ca7e4</UpdateId>
                   <SummarizationState>4</SummarizationState>
                   <LastChangeTime>2007-03-05T22:25:11.64Z</LastChangeTime>
                 </ComputerStatusRollupUpdateStatus>
                 <ComputerStatusRollupUpdateStatus>
                   <UpdateId>5eb6225f-5d33-4213-a6b4-fcdd9f672d75</UpdateId>
                   <SummarizationState>5</SummarizationState>
                   <LastChangeTime>2007-03-05T22:25:11.64Z</LastChangeTime>
                 </ComputerStatusRollupUpdateStatus>
                 <!--.......................-->
                 <!--.....ARRAY TRIMMED.....-->
                 <!--.......................-->
               </UpdateStatus>
             </ComputerStatusRollupInfo>
           </computers>
         </RollupComputerStatus>
       </soap:Body>
     </soap:Envelope>
     <!-- REPORTING DATA SYNC PHASE: RollupComputerStatus response -->
     <?xml version="1.0" encoding="utf-8"?>
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <RollupComputerStatusResponse
                               xmlns="http://www.microsoft.com/SoftwareDistribution">
           <RollupComputerStatusResult>true</RollupComputerStatusResult>
         </RollupComputerStatusResponse>
       </soap:Body>
     </soap:Envelope>
    

Sample 4: SOAP Fault

The following sample message shows a SOAP fault response from the USS to the DSS when the DSS sent an invalid cookie. It shows the <detail> section of the SOAP fault filled with <ErrorCode> "InvalidCookie". The <Method> element also shows the operation that returned this error: "GetDeployments".

 <!-- DEPLOYMENTS SYNC PHASE: GetDeployments() Failure Response - InvalidCookie -
 ->
 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
     <soap:Fault>
       <faultcode>soap:Client</faultcode>
       <faultstring>System.Web.Services.Protocols.SoapException: Fault occurred a
 t Microsoft.UpdateServices.Internal.SoapUtilities.ThrowException(ErrorCode error
 Code, String message) at Microsoft.UpdateServices.Internal.Authorization.Authori
 zationManager.CrackCookieInServerSync(Cookie cookie) at Microsoft.UpdateServices
 .Internal.ServerImplementation.GetDeployments(Cookie cookie, String deploymentAn
 chor, String syncAnchor) at Microsoft.UpdateServices.Internal.ServerSyncProxy.Ge
 tDeployments(Cookie cookie, String deploymentAnchor, String syncAnchor)</faultst
 ring>
       <faultactor>http://HemantTest:8530/serversyncWebService/serversyncWebServi
 ce.asmx</faultactor>
       <detail>
         <ErrorCode>InvalidCookie</ErrorCode>
         <Message />
         <ID>247dfffd-a6b4-4a57-b9d4-2e464b668cd3</ID>
         <Method>"http://www.microsoft.com/SoftwareDistribution/GetDeployments"</
 Method>
       </detail>
     </soap:Fault>
   </soap:Body>
 </soap:Envelope>