Using Integration Controls

     Previous  Next    Open TOC in new window  Open Index in new window  View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Using the JCA Control

A JCA control performs an operation on a EIS. Each JCA control can be configured to do operations that are specific to the associated EIS. The EIS can then be accessed by the business process using the JCA control.

For information on how to add control instances to business processes, see Using Controls in Business Processes.

A JCA control can do outbound operations such as enqueue operations (posting messages) to a queue in Oracle Advanced Queueing to create an outbound service. These operations could be outbound operations on a table like Insert, Update, or Delete to create outbound services in the Oracle E-Business Suite or outbound operations on SAP systems.

This section provides information about:

 


Before You Start

Before you create a JCA control:

 


Creating a JCA Integration Control

To create a new JCA control

  1. In the Package Explorer pane, double-click the business process to which you want to add the JCA control. The business process is displayed in the Design view.
  2. Click on the Data Palette and from the drop-down list choose Integration Controls to display the list of controls used for integrating applications.
  3. Note: If the Data Palette view is not visible in Oracle Workshop for WebLogic, click Window > Show View > Data Palette from the menu bar.
  4. Select JCA. The Insert Control : JCA Control dialog appears.
  5. Enter the following details.
    1. In the Field Name, type the variable name used to access the new JCA control instance from your business process. The name you enter must be a valid Java identifier.
    2. In the Insertion point, from the drop-down list, select the point where you want the field name to be inserted in the process file. This can be after the last field, the context, or after serial version UID.
    3. Decide whether you want to make this a control factory and select or clear the Make this a control factory that can create multiple instances at runtime check box.
    4. Click Next. The Create Control wizard appears.
  6. Enter the following details.
    1. In the Source folder field, specify the location of the project source folder.
    2. In the Packages field, specify the package in the project source folder in which the new control is created.
    3. In the Name field, type the name of your new control extension file.
    4. In the Extended interfaces field, the JCA Control interface that is extended by the new control is displayed.

    5. Decide whether you want to add comments as configured in the properties of the current project and select or clear the Generate comments check box.
    6. Click Next. The Insert Control : JCA Control dialog appears.
  7. Enter the following details.
    1. In the WSDL field, enter the location of the WSDL file of the adapter service.
    2. Based on your requirements, the service can be an Oracle Applications adapter service, an Oracle AQ adapter service, or an Oracle Application Adapter for SAP R/3 service. For more information, see “Creating Oracle Applications Adapter Services” and “Creating Oracle AQ Adapter Services” in Working with Adapters; and see the Oracle Application Adapter for SAP R/3 User's Guide.

    3. In the Service field, select the service associated with the specified WSDL.
    4. In the Port type field, select the required port type from the list of port types available in the specified WSDL.
    5. Click Next. The Select Types JAR File Location dialog appears.
  8. In the File name field, specify the name of the JAR file.
  9. This JAR file contains the specified WSDL, any WSDLs referenced in the specified WSDL, and the class files and XML Beans for each of the elements defined in the WSDL.

  10. Click Finish.

The JAR file is created and placed in the Web project/WebContent/WEB_INF/lib folder.

The JCA control methods are created and listed in the data palette.

You can use any of these methods in the business process to interact with the EIS.


  Back to Top       Previous  Next