The TPM (trading partner management) control provides Oracle Workshop for WebLogic business processes and web services with query (read-only) access to trading partner and service information stored in the TPM repository.
All Oracle Workshop for WebLogic controls follow a consistent model. Many aspects of using TPM controls are identical or similar to using other Oracle Workshop for WebLogic controls.
Introducing Trading Partner Integration
The TPM control allows Oracle Workshop for WebLogic business processes and web services to obtain the following trading partner and service information stored in the TPM repository:
|Note:||Access to the TPM repository is restricted to active trading partners and active profile services only. To learn about activating trading partners and services, see the Oracle WebLogic Integration Administration Console Online Help.|
You use methods on the TPM control to retrieve information stored in the TPM repository. These methods return XML documents that conform to the TPM schema associated with importing and exporting trading partner data in the Oracle WebLogic Integration Administration Console and the Bulk Loader command line utility.
The TPM control provides read-only access to the TPM repository. Therefore, you cannot use TPM controls to modify trading partner and service information. Instead, you must use the Oracle WebLogic Integration Administration Console to modify trading partner and service information. To learn more about modifying the TPM repository, seein Using the Oracle WebLogic Integration Administration Console.
TPM controls cannot initiate transactions. To learn more about transactions in business processes, see.
For initiator business processes that use RosettaNet or ebXML to exchange business messages, you can retrieve certain information from the TPM repository—settings for process time-out, retry count, and retry interval—using methods on the RosettaNet or ebXML control instead of the TPM control. To learn about these methods, seeand .
This topic describes how to create a new TPM control.
|Note:||If the Data Palette view is not visible in Oracle Workshop for WebLogic, click Windows > Show View > Data Palette from the menu bar.|
The Insert control: TPM dialog box appears (see Figure 17-1).
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.xsdfile, and that the schema is already built.
For an example of how to use the TPM Control, see “Step 7: Using the TPM Control and Callbacks” in.