Provisioning Schema::errorDescription


Element that encapsulates an XML error description. This element is part of the provisioning schema of Microsoft® Provisioning Framework (MPF).

The HTTP and SOAP Provider returns SOAP and HTTP errors in XML format. Whenever a provisioning engine receives an XML error, it  generates an errorContext node and returns it to either the calling procedure or (for try-catch blocks) to the procedures in the catch node. The engine parses the code to extract the error description, then assigns this string to /errorContext/@description. It then executes an XSL transformation to translate the error nodes to corresponding child nodes of errorContext.

Parent

errorContext

Examples

Text error:

<!-- Non-XML error -->
Server not available.
<!-- Transformation performed by provisioning engine -->
<errorContext description='Server not available.'/>

XML error:

<!-- Original XML error -->
<errorDescription description='Server not available.'>
  <Fault>
	<faultData/>
  </Fault>
</errorDescription>
<!-- Transformation performed by provisioning engine -->
<errorContext description='Server not available.'>
  <errorDescription>
	<Fault>
	<faultData/>
	</Fault>
  </errorDescription>
</errorContext>

See also

Request Example, XML Schema for Requests


Up Top of Page
© 1999-2002 Microsoft Corporation. All rights reserved.