For an example of how to use the TPM Control, see "Step 7: Using the TPM Control and Callbacks" in Tutorial: Building ebXML Solutions, which is located at the following URL:
http://edocs.bea.com/wli/docs81/tptutorial/ebxml.html