3.1.4.1.1 wsman:ResourceURI

Web Services Management Protocol Extensions for Windows Vista  servers MUST accept resource URIs starting with the following prefixes:

  • http://schemas.microsoft.com/wbem/wsman/1/config

  • http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/

  • http://schemas.microsoft.com/wbem/wsman/1/wmi/root/

  • http://schemas.microsoft.com/wbem/wsman/1/windows/EventLog

  • http://schemas.microsoft.com/wbem/wsman/1/windows/shell

  • http://schemas.microsoft.com/wbem/wsman/1/SubscriptionManager/Subscription

The CIM binding for WS-Management defines ResourceURIs to be used in referencing the CIM objects. More information is specified in [DMTF-DSP0227] section 6.1.

Web Services Management Protocol Extensions for Windows Vista servers MUST use the http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/ namespace prefix followed by the class name when providing access to Distributed Management Task Force (DMTF) classes. The classes in WMI are considered DMTF classes if they have a version qualifier with a major number equal to 2.

As specified in [DMTF-DSP0227] section 6.3, the "__cimnamespace" selector specifies the CIM namespace that the request is associated with.

Web Services Management Protocol Extensions for Windows Vista servers MAY<45> support the "__cimnamespace" selector.

Web Services Management Protocol Extensions for Windows Vista servers MUST use root\hardware as the default if the "__cimnamespace" selector is not specified in the request.

Web Services Management Protocol Extensions for Windows Vista servers MUST use the following format to provide access to any WMI class.

 <prefix> <cim namespace> "/" <class name>

Where <prefix> is http://schemas.microsoft.com/wbem/wsman/1/wmi/ and <cim namespace> is the CIM namespace in which "\" has been converted to "/".

As specified in [DMTF-DSP0227] section 6.3, the "__cimnamespace" selector specifies the CIM Namespace that the request is associated with. Web Services Management Protocol Extensions for Windows Vista servers SHOULD reply with an error response if the "__cimnamespace" selector is specified when using a WMI ResourceURI.<46>