Provisioning File Error Messages
4/8/2010
When an error occurs, an error message is generated and the Configuration Service Provider responds by replacing the original element with its corresponding error element. The following table lists these relationships.
Original element | Error element |
---|---|
characteristic |
characteristic-error |
parm |
parm-error |
characteristic-query |
characteristic-query-error |
parm-query |
parm-query-error |
nocharacteristic |
nocharacteristic-error |
noparm |
noparm-error |
Note
When performing a query, if the designated element identified by the type or name attribute does not exist, the nocharacteristic or noparm element is set in the response document.
Code Example
The following XML example sends an error message regarding the display font size.
Note
This example is a response document. Submitting this XML as a request is not a valid scenario.
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\Accessibility">
<noparm-error name="FontSize" desc="failure reason"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Remarks
For information about the provisioning file syntax for different OMA Client Provisioning versions, see OMA Client Provisioning Files.