Share via


4.1.1 Protocol Initialization Trace

This section contains information about the messages exchanged as part of the protocol initialization between SAI-NAV009 (client) and SAI-NAV009-2 (server). The specific trace is taken as part of IWbemServices::ExecQuery call. For brevity, only the relevant traces are shown here.

Client creates a DCOM request to obtain IWbemLevel1Login interface:

  
 - DCOM: RemoteCreateInstance Request, DCOM Version=5.7  Causality Id={8E2416FE-0A3F-42BE-A9B0-F30624C94619}
   + HeaderReq: DCOM Version=5.7  Causality Id={8E2416FE-0A3F-42BE-A9B0-F30624C94619}
   + AggregationInterface: 
   + ActivationProperties:
  

Server responds with IWbemLevel1Login interface pointer to the client's request:

  
 - DCOM: RemoteCreateInstance Response, ORPCFLOCAL - Local call to this computer
   + HeaderResp: ORPCFLOCAL - Local call to this computer
   + ActivationProperties:
  

Client performs the QueryInterface for IWbemLoginClientID interface from IWbemLevel1Login interface pointer:

  
 - DCOM: IRemUnknown2:RemQueryInterface Request, DCOM Version=5.7  Causality Id={8E2416FE-0A3F-42BE-A9B0-F30624C94619}
   + HeaderReq: DCOM Version=5.7  Causality Id={8E2416FE-0A3F-42BE-A9B0-F30624C94619}
     QueriedObjectIpId: {0001A407-06C4-0000-A6E3-C870B6019C76}
     PublicObjectReferenceCount: 5 (0x5)
     NumRequestedIIds: 1 (0x1)
   + Size: 1 Elements
   + InterfaceIds:

Server responds with IwbemLoginClientID interface pointer to the client:

  
 - DCOM: IRemUnknown2:RemQueryInterface Response, ORPCFNULL - No additional information in this packet
   + HeaderResp: ORPCFNULL - No additional information in this packet
   + RemqiresultPtr: Pointer To 0x00020000
   + Size: 1 Elements
   + QueryInterfaceResults: 
   + ReturnValue: Success

Client callsSetClientInfo method on IwbemLoginClientID interface pointer obtained from the server:

  
 - WMI: IWbemLoginClientID:SetClientInfo Request, ClientMachine=SAI-NAV009 ClientProcId=6420 Reserved=0
   + ClientMachine: SAI-NAV009
   + Pad: 2 Bytes
     ClientProcId: 6420 (0x1914)
     Reserved: 0 (0x0)
  

Server responds with WBEM_S_NO_ERROR:

  
 - WMI: IWbemLoginClientID:SetClientInfo Response, ReturnValue=WBEM_S_NO_ERROR
     ReturnValue: 0x00000000 - WBEM_S_NO_ERROR - Indicates a successful completion to the method call.
  

Client calls EstablishPosition method on IWbemLevel1Login interface pointer to determine supported locales on the server:

 - WMI: IWbemLevel1Login:EstablishPosition Request, Reserved1=NULL Reserved2=0
   + Reserved1: NULL
     Pad: 0 Bytes
     Reserved2: 0 (0x0)
  

Server responds with LocalVersion as 1. This means that the server ignores unrecognized locale names in the locale name format:

 - WMI: IWbemLevel1Login:EstablishPosition Response, LocaleVersion=1 ReturnValue=WBEM_S_NO_ERROR
     LocaleVersion: 1 (0x1)
     ReturnValue: 0x00000000 - WBEM_S_NO_ERROR - Indicates a successful completion to the method call.
  

Client calls NTLMLogin method on IWbemLevel1Login interface pointer to obtain IWbemServices interface pointer for root\cimv2 namespace on sai-nav009-2 (server):

 - WMI: IWbemLevel1Login:NTLMLogin Request, NetworkResource=\\sai-nav009-2\root\cimv2 PreferredLocale=en-US,en Flags=0
   + NetworkResource: \\sai-nav009-2\root\cimv2
   + PreferredLocale: en-US,en
   + pad: 2 Bytes
     Flags: 0 (0x0)
   + Ctx: NULL
  

Server responds with IWbemServices interface pointer for root\cimv2 namespace on sai-nav009-2 (server). Client uses this interface pointer to make synchronous, asynchronous, and semisynchronous operations on the server:

 - WMI: IWbemLevel1Login:NTLMLogin Response, ReturnValue=WBEM_S_NO_ERROR
   + Namespace: OBJREFSTANDARD - {9556DC99-828C-11CF-A37E-00AA003240C7}
   + pad: 2 Bytes
     ReturnValue: 0x00000000 - WBEM_S_NO_ERROR - Indicates a successful completion to the method call.