How to Use a Service Component Template in Another SOA Composite

This section describes how to use the packaged service component template created in How to Create a Service Component Template in another SOA composite application.

To use a service component template in another SOA composite:

  1. Create an empty SOA composite application in Oracle JDeveloper.
  2. In the SOA Composite Editor, select SOA Templates from the SOA list. Figure 40-7 provides details.

    Figure 40-7 SOA Templates Option in SOA Menu

    Description of Figure 40-7 follows
    Description of "Figure 40-7 SOA Templates Option in SOA Menu"
  3. Drag the service component template into the SOA Composite Editor.

    This invokes the Create SOA Component from Component Template dialog, as shown in Figure 40-8. This dialog shows the template name, description, and files included in the template.

    Figure 40-8 Create SOA Component from Component Template Dialog

    Description of Figure 40-8 follows
    Description of "Figure 40-8 Create SOA Component from Component Template Dialog"
  4. Click OK.

    The service component template is displayed in the SOA composite application.

  5. View the Applications window and note that files such as schemas and WSDLs are displayed in the SOA composite application.
  6. If you attempt to apply the service component template a second time to the same SOA composite application, the Create SOA Component from Component Template dialog is displayed and indicates that there is a conflict because schema and BPEL files are already in the composite. Figure 40-9 provides details.

    Figure 40-9 Create SOA Component from Component Template Dialog

    Description of Figure 40-9 follows
    Description of "Figure 40-9 Create SOA Component from Component Template Dialog"
  7. Click Next.
  8. In the Resolve Conflicts page, select to skip or overwrite all files or specific files that are in conflict. Figure 40-10 provides details.

    Figure 40-10 File Names in Conflict

    Description of Figure 40-10 follows
    Description of "Figure 40-10 File Names in Conflict"
  9. When complete, click Finish.