Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/26/2014
This XML document is a provisioning XML file, also known as an Open Mobile Alliance (OMA) Client Provisioning (OMA-CP) XML file, which is a document that is exchanged by a provisioning source and a Windows Embedded Compact powered device.
Syntax
<wap-provisioningdoc>
<characteristic type="Root-level configuration service provider1">
<characteristic type="First-level Characteristic">
<parm name="ParmName" value="ParmValue"/>
</characteristic>
</characteristic>
<characteristic type="Root-level configuration service provider2">
<characteristic type="First-level Characteristic">
<parm name="ParmName" value="ParmValue"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Elements
Element name |
Description |
Attributes |
---|---|---|
characteristic |
Groups settings for a configuration service provider. You can create characteristic elements within a characteristic element. |
|
characteristic-error |
When an error occurs in a characteristic element, Windows Embedded Compact changes the element to a characteristic-error element. |
|
characteristic-query |
Use this element to query the setting values specified by the characteristic in the type attribute. |
|
characteristic-query-error |
When an error occurs in a characteristic-query element, Windows Embedded Compact changes the element to a characteristic-query-error element. |
|
nocharacteristic |
In a request document, the settings to be removed from the device. In a response document, the elements that are removed. |
|
nocharacteristic-error |
When an error occurs in a nocharacteristic element, Windows Embedded Compact changes the element to a nocharacteristic-error element. |
|
noparm |
In a request document, a setting to be removed. In a response document, indicates that the parm identified by the name attribute does not exist. |
|
noparm-error |
When an error occurs in a noparm element, Windows Embedded Compact changes the element to a noparm-error element. |
|
parm |
Metadata that describes a device setting. Many of the attributes in this element are only returned in a response document. This XML element is used to specify a setting under the parent characteristic element. You can use this element to set configuration data on the device. Configuration service providers interpret parm elements, and also characteristic elements, as instructions to update device settings. |
|
parm-error |
When an error occurs in a parm element, Windows Embedded Compact changes the element to a parm-error element. |
|
parm-query |
Specifies a request for the current value of a setting. |
|
parm-query-error |
When an error occurs in a parm-query element, Windows Embedded Compact changes the element to a parm-query-error element. |
|
wap-provisioningdoc |
Top-level document element. |
None required. |
Remarks
A request document is a provisioning XML file that you send to a device to request to change its settings. A response document is an XML file that the device returns to you to report the results of the provisioning change.
One provisioning XML file can include information for multiple configuration service providers.
Using the parm-query and characteristic-query elements in XML in the OMA-CP provisioning scenario is not supported.
For information about the XML elements and custom attribute values supported by a specific configuration service provider, see Configuration Service Provider Reference.
To process a Provisioning XML Document, use IConfigManager.
Example
The following code example sends a query to the device and requests the value of the .Scheme setting.
<wap-provisioningdoc>
<characteristic type="SndScheme">
<characteristic type="HKLM\Snd\Event">
<parm-query name=".Scheme"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>