Creating XML requests

The providers implemented in Microsoft Provisioning Framework (MPF) each require specific data and an action to invoke a particular function. The XML request contains the data and action that are passed to MPF.

Structuring XML requests

Requests must meet the following requirements:

Important

Specifying data in requests

The <executeData> element of a procedure implements all required and optional input for the procedure. You can provide input for the <executeData> element in one of the two following ways:

Most of the examples of XML requests provided in this section are structured to implement input by incorporating it in the <executeData> element.

Examples using each of the two data elements

The following examples show the two different ways of providing input for procedures.

Obtaining XML code for specific requests

You can create XML requests by copying the XML from one of two sources:debug files or XML examples. A description of each follows.

The Microsoft Provisioning Framework Software Development Kit (SDK) contains additional resources to help you understand how XML requests and procedures are implemented in MPF. For more information on the SDK and how to use it, see Microsoft Provisioning Framework SDK and documentation.

Customizing and saving XML requests

After copying the XML requests from the appropriate source, you can modify them to meet your requirements. After creating each XML document, including incorporating any required and optional input in the request contained in the document, save the document as an .xml file, using the Unicode - Codepage 65001 encoding option.