2.2.4.41 SubscriptionType Complex Type

As an alternative to the Subscribe request, publisher-initiated subscriptions use the following message as an enumeration result. Web Services Management Protocol Extensions for Windows Vista servers and clients MUST support this message in order to use the publisher-initiated subscription. <25>

Web Services Protocol Extensions for Windows Vista servers and clients MUST use SubscriptionType Complex Type under the following namespace: http://schemas.microsoft.com/wbem/wsman/1/subscription

The schema MUST be as shown here.

 <xs:complexType name="SubscriptionType">
   <xs:sequence>
     <xs:element name="Version"
       type="xs:string"
      />
     <xs:element name="Envelope"
       type="s:Envelope"
      />
   </xs:sequence>
 </xs:complexType>
  

Elements

Version: Version is a globally unique identifier (GUID) assigned to the current version of the subscription referred to in the envelope. If the client receives a result with the same version on subsequent enumerations, it means that the same subscription is present and has not changed. Whenever parameters for the subscription change, subsequent enumeration results containing that subscription MUST use a new version identifier.

Envelope: A SOAP envelope that MUST contain a SubscribeMsg message, as specified in section 3.1.4.6.1.