Installing the MPS SDK Tools makes additions to a variety of context menus available in the Visual Studio 2005 integrated development environment. The menus described in this section are available by right-clicking the namespaces and procedures in the Namespace/Procedure Browser window.
With any file open, right-click a procedure beneath a namespace. The options appear in the following figure.
Figure: Insert call into current file option
When you click Insert call into current file, an execute statement will be dropped into the current file that is open. This action is also available using the drag-and-drop feature. The statement will look like the following:
<execute namespace="Hosted Exchange" procedure="CreateBusinessUser"> <before source="data" destination="executeData" mode="merge" /> <after source="executeData" destination="data" mode="insert" /> </execute>
Clicking Execute will immediately submit the request to the MPS Engine, and the output will be displayed in the MPF Output window.
Figure: Execute option
This feature is only available as long as there is a valid Extensible Schema Definition (XSD) file associated with the procedure.
When a project is already opened, the Create sample request option is available. Clicking this option will add a new request file to the project.
Figure: Create sample request option
This feature is only available as long as there is a valid XSD file associated with the procedure.
The request will resemble the following:
<?xml version="1.0" encoding="iso-8859-1" ?> <request xmlns="http://provisioning.microsoft.com/MPF" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <data /> <procedure> <execute namespace="Hosted Exchange" procedure="ChangeUserPassword"> <before source="data" destination="executeData" mode="merge" /> <after source="executeData" destination="data" mode="insert" /> </execute> </procedure> </request>
When you click Copy, the entire procedure will be copied to the clipboard, and you can then paste the entire procedure anywhere that the clipboard would be available.
Figure: Copy option
Delete allows the user to delete the selected procedure.
Figure: Delete option