25.02.2003, Update: 27.02.2003
PDF |  E-Book |  Ranking
1 Stern2 Sterne3 Sterne4 Sterne5 Sterne
 | 

Inside Windows-Update

von Mike Hartmann

The communication protocol

The tecDump utility reveals that Windows Update uses the POST requests to transmit SOAP (Simple Object Access Protocol) messages to the Microsoft server. SOAP is the XML-based standard protocol for communicating with web services, an elementary building block of Microsoft's .NET strategy. The intercepted messages have the following format.
Code
1
<SOAP:Envelope xmlns:SOAP="x-schema:http://schemas.xmlsoap.org/soap/envelope/">
spacer_1px
2
<SOAP:Body>
spacer_1px
3
<GetManifest>
spacer_1px
4
<clientInfo [...]> [...] </clientInfo>
spacer_1px
5
<systemInfo [...]>
spacer_1px
6
<computerSystem [...]>
spacer_1px
7
[...]
spacer_1px
8
</computerSystem>
spacer_1px
9
<platform [...]>
spacer_1px
10
[...]
spacer_1px
11
</platform>
spacer_1px
12
<locale [...]>
spacer_1px
13
[...]
spacer_1px
14
</locale>
spacer_1px
15
<devices [...]>
spacer_1px
16
[...]
spacer_1px
17
</devices>
spacer_1px
18
</systemInfo>
spacer_1px
19
<query [...]> [...] </query>
spacer_1px
20
</GetManifest>
spacer_1px
21
</SOAP:Body>
spacer_1px
22
</SOAP:Envelope>
The <SOAP:Envelope> and <SOAP:Body> tags are required by the SOAP standard to encapsulate the payload to be transmitted. Windows Update uses the payload to implement a RPC (Remote Procedure Call) mechanism. The SOAP messages posted to the Microsoft server by Windows Update contain the name of a function to be executed on the server and the arguments to be passed to the function. When receiving a message from Windows Update the server then runs the specified function with the specified arguments and encapsulates the result into another SOAP message, which it then transmits back to Windows Update in the HTTP response to the pending POST request.
Inhalt dieses Artikels
Mehr zum Thema
Links zum Thema
Ihre Meinung zum Artikel
Benutzername:
Passwort: