4.2.2.4 Optimized Client and Unoptimized Server

The product versions that exhibit optimized client behavior and unoptimized server behavior are referenced in section 4.2.2.

To make a synchronous operation from a client to a server, the client uses the IWbemServices interface pointer. The client calls the IWbemServices synchronous methods IWbemServices::CreateInstanceEnum, IWbemServices::CreateClassEnum, and IWbemServices::ExecQuery. In response to the method executed, the server returns an IEnumWbemClassObject interface pointer. The client uses IRemUnknown and IRemUnknown2, as specified in [MS-DCOM], to obtain an IWbemFetchSmartEnum interface pointer from IEnumWbemClassObject interface pointer. The operation fails because the server is not implementing the IWbemFetchSmartEnum interface. The client falls back to unoptimized client behavior.

Optimized Client and Unoptimized Server

Figure 16: Optimized Client and Unoptimized Server

An example capture is given on [SysDocCap-WMI] showing a Windows 7 operating system client connecting to a Windows 2000 Server operating system using the wbemtest utility and enumerating the default namespace