Creating a New Dynamic Transformation Control
This topic describes how to create a new Dynamic Transformation control.
For information on where to add control instances in a business process, see "Adding Control Nodes to Your Business Process" in Using Integration Controls.
To Create a New Dynamic Transformation Control
Note: Before creating a Dynamic Transformation control, during design time, you need to create or import and test your transformation files. To learn more, see Creating Schema Projects, Transformation Data Using XQuery, and Transforming Non-XML Data.
- Open your WebLogic Integration application in WebLogic Workshop.
- In the Application pane, double-click the business process (JPD file) to which you want to add the Dynamic Transformation control. The business process is displayed in the Design View.
- On the Data Palette, in the Controls tab, click Add —> Integration Controls to display a list of integration controls that represent the resources with which your business process can interact.
Note: If the Data Palette is not visible, from the menu bar, click View —> Windows —> Data Palette.
- Choose Dynamic Transformation. The Insert Control - Dynamic Transformation dialog box is displayed.
- In Step 1, enter a name for the instance of this control. The name you enter must be a valid Java identifier.
- In Step 2, select one of the following options:
- Use a Dynamic Transformation control already defined by a JCX file.
Enter a filename for the control in the JCX file field, or click Browse to find the JCX file on your file system.
- Create a new Dynamic Transformation control to use.
Enter a filename in the New JCX name field.
- Choose whether you want to make this a control factory by selecting or clearing the Make this a control factory that can create multiple instances at runtime check box. For more information about control factories, see Control Factories: Managing Collections of Controls.
- Click Create.
A new Dynamic Transformation control and an instance of it are created and the Insert Control - Dynamic Transformation dialog box is closed. The instance of the control is displayed on the Controls tab of the Data Palette. The new JCX file is displayed in the Application tab in WebLogic Workshop. (You can double-click any JCX file to view or edit it in the Design or Source View.)
- To display the base methods provided on a Dynamic Transformation control, expand the control instance by clicking the + beside its name on the Data Palette.
- After you create an instance of the Dynamic Transformation control in your business process, you can do the following:
- Design the interaction of the business process with the Dynamic Transformation control by simply dragging and dropping the base methods from the Data Palette onto the Design View at the point in your business process at which you want to design the interaction. To learn more, see Using the Base Methods in the Dynamic Transformation Control.
- Add transformation methods to the Dynamic Transformation control and then add them to your business process. To learn about adding transformation methods, see Adding Methods to the Dynamic Transformation Control.
- View and edit the properties of the control type or the instance of that control type in the Property Editor. The control type is represented as a JCX file in the Application pane and the instance is represented in the Data Palette. To learn how to use the Property Editor for specifying properties for control types versus control instances, see Setting Control Properties.
Related Topics
Using a Dynamic Transformation Control
Setting Control Properties
Creating Schema Projects
Transformation Data Using XQuery
Transforming Non-XML Data
Dynamic Transformation Control Annotations