Microsoft®
Provisioning Framework (MPF) implements provisioningrequests as XML
documents. There are two types of requests: simple and trusted.
Simple requests can contain data, , and the procedure and namespace
to call. Trusted requests explicitly define the procedure steps as
well as any data or security context. For more information on
simple and trusted requests, see Requests and .

Schema for Simple Request

The following code fragment illustrates the base schema for a
simple request.

The root node is request. Data can be passed to a
request node by a Web page, script, or another
procedure.

The globalData node (optional) is used only for queued
requests. It passes data used by all actions in a queued request.
For more information on queued requests, see Provisioning Queue
Manager Service.

The data node (optional) receives free-form XML content
received from other sources. This is the data that the request acts
on. An untrusted request can only have one data node. (However, a
trusted request or queued simple or trusted request can contain
multiple data nodes.)The context node (optional)
passes contextual information to the procedure. MPF will extract
from the run-time environment any portion of the context block it
needs to process the request.

When MPF executes a request, it generates an executeXml
node internally to pass any request data as XML to the called
procedure. The following code fragment illustrates the base schema
that MPF uses for this action.

The errorContext node (optional) contains a list of
errors (represented by one or more errorSource child nodes)
that prevented successful completion of the request. Procedures
that implement error handling
receive these errors into the catch node.