# Using a TPM Control

After you have added a TPM control to a business process or web service, you can use methods on the control to retrieve information in the TPM repository. For a description of the methods available in the TPM control interface, see the TPM Control Interface.

To use methods in a TPM control

1. Verify that your application contains a schema project that includes the TPM.xsd file, and that the schema is already built. To learn about importing schemas, see Importing Schemas.
2. In the Design View, expand the node for the TPM control in the Data Palette to expose its methods.
3. Drag and drop any methods you want onto the business process.

Each method you add becomes a Control Send with Return node, which will perform a synchronous query request on the TPM repository.

4. Extract the values you want by creating a query (in the XQuery language) using the mapper functionality of WebLogic Workshop. To learn about creating queries with the mapper functionality, see Transforming Data Using XQuery.

Related Topics

TPM Control

Overview: TPM Control

Creating a TPM Control

Example: TPM Control

TPMControl Interface