Skip Headers
Oracle® Fusion Middleware Application Adapter for PeopleSoft User's Guide for Oracle WebLogic Server
11g Release 1 (11.1.1.4.0)

Part Number E17055-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

5 Integration With Mediator Service Components in the Oracle SOA Suite

This chapter describes integration with Mediator service components in the Oracle SOA Suite. It contains the following topics:

The scenarios shown in this chapter require the following prerequisites.

Prerequisites

The following are installation and configuration requirements:

The examples in this chapter present the configuration steps necessary for demonstrating service and event integration with PeopleSoft. Prior to using this material, you must be familiar with the following:

Overview of Mediator Integration

Mediator provides a comprehensive application integration framework. Oracle Application Adapter for PeopleSoft used with Mediator enables you to seamlessly integrate enterprise software, eliminating the need to write custom code. Functional modeling, as opposed to custom coding solutions, allows for software reuse and reduces the complexity and management challenges that arise over the software lifecycle. This integration model consists of two components--high-level integration logic and low-level platform services.

Adapter integration with Oracle WebLogic Server, Mediator is a two-step process:

  1. Design Time: Oracle Application Adapter for PeopleSoft is configured in Application Explorer for services and events, as described in Chapter 2, "Configuring Oracle Application Adapter for PeopleSoft". Integration logic is modeled in Oracle JDeveloper. Metadata are stored in repositories.

  2. Runtime: The underlying platform treats this metadata as run-time instructions to enable the communication between participating applications.

Configuring a New Application Server Connection

For more information on how to configure a new Application Server connection in Oracle JDeveloper, see Configuring a New Application Server Connection.

Configuring a Mediator Outbound Process

The following example describes how to configure a Mediator outbound process to your PeopleSoft system, using a Mediator project in Oracle JDeveloper.

Prerequisites

Before you design a Mediator outbound process, you must generate the respective WSDL file using Application Explorer. For more information, see "Generating WSDL for Request/Response Service".

Samples have been provided for this usecase scenario in the etc/sample folder in Application Adapters installation.

Creating a New SOA Application for the Outbound Mediator Process

Perform the following steps to create a new SOA application for the outbound Mediator process:

  1. Open Oracle JDeveloper on your system.

  2. Click Application in the menu bar and select New from the menu, as shown in Figure 5-1.

    The Create SOA Application wizard is displayed, as shown in Figure 5-2.

    Figure 5-2 Create SOA Application Wizard

    Create SOA Application wizard
    Description of "Figure 5-2 Create SOA Application Wizard"

  3. From the Application Template list, click SOA Application.

  4. Enter a name for the new SOA application (for example, PSoft_Outbound_Mediator) and click Next.

    The Name your project page is displayed, as shown in Figure 5-3.

    Figure 5-3 Name Your Project Page

    Name your project pane
    Description of "Figure 5-3 Name Your Project Page"

  5. Enter a project name (for example, LOCATION_Invoke) and click Next.

    The Configure SOA settings page is displayed, as shown in Figure 5-4.

    Figure 5-4 Configure SOA Settings Page

    Configure SOA settings pane
    Description of "Figure 5-4 Configure SOA Settings Page"

  6. From the Composite Template list, select Empty Composite and click Finish.

    Figure 5-5 New SOA Application and Associated Project

    Application Navigator tab
    Description of "Figure 5-5 New SOA Application and Associated Project"

    The new SOA application (PSoft_Outbound_Mediator) and associated project (LOCATION_Invoke) are added to the Application Navigator tab in the left pane, as shown in Figure 5-5.

Defining a Mediator Outbound Process

This section describes how to define a Mediator outbound process, which consists of the following stages:

  1. Configuring a Third Party Adapter Service Component

  2. Configuring an Outbound Mediator Process Component

  3. Configuring the Routing Rules

Configuring a Third Party Adapter Service Component

Perform the following steps to create a third party adapter service component:

  1. Drag and drop the Third Party Adapter component from the Component Palette tab (Service Adapters section) to the External References pane, as shown in Figure 5-6.

    Figure 5-6 Third Party Adapter Component

    External References pane
    Description of "Figure 5-6 Third Party Adapter Component"

    The Create Third Party Adapter Service dialog is displayed, as shown in Figure 5-7.

    Figure 5-7 Create Third Party Adapter Service Dialog

    Create Third Party Adapter Service dialog box
    Description of "Figure 5-7 Create Third Party Adapter Service Dialog"

  2. Enter a name for the new third party adapter service.

  3. Ensure that Reference is selected from the Type list (default).

  4. Click the Find existing WSDLs icon, which is located to the right of the WSDL URL field.

    The SOA Resource Browser dialog is displayed, as shown in Figure 5-8.

    Figure 5-8 SOA Resource Browser Dialog

    SOA Resource Browser dialog box
    Description of "Figure 5-8 SOA Resource Browser Dialog"

  5. Browse and select an outbound WSDL file (for example, LOCATION_invoke.wsdl) from the following directory:

    <ADAPTER_HOME>\soa\thirdparty\ApplicationAdapters\wsdls
    
  6. Click OK.

    The Localize Files dialog is displayed, as shown in Figure 5-9.

    Figure 5-9 Localize Files Dialog

    Localize Files dialog box
    Description of "Figure 5-9 Localize Files Dialog"

  7. Click OK.

    The outbound WSDL file and associated request and response XML schema files (.xsd) are imported to the project folder that has been created.

    You are returned to the Create Third Party Adapter Service dialog, as shown in Figure 5-10.

    Figure 5-10 Create Third Party Adapter Service Dialog

    Create Third Party Adapter Service dialog box
    Description of "Figure 5-10 Create Third Party Adapter Service Dialog"

  8. Click the Find JCA Files icon, which is located to the right of the JCA File field.

    The SOA Resource Browser dialog is displayed, as shown in Figure 5-11.

    Figure 5-11 SOA Resource Browser Dialog

    SOA Resource Browser dialog box
    Description of "Figure 5-11 SOA Resource Browser Dialog"

  9. Browse and select the JCA properties file (for example, LOCATION_invoke.jca) from the following directory:

    <ADAPTER_HOME>\soa\thirdparty\ApplicationAdapters\wsdls
    
  10. Click OK.

    The following message is displayed, as shown in Figure 5-12.

    Figure 5-12 Copy File Confirmation Message

    Copy File message
    Description of "Figure 5-12 Copy File Confirmation Message"

  11. Click Yes.

    A copy of the JCA properties file is made in the project folder.

    You are returned to the Create Third Party Adapter Service dialog, as shown in Figure 5-13.

    Figure 5-13 Create Third Party Adapter Service Dialog

    Create Third Party Adapter Service dialog box
    Description of "Figure 5-13 Create Third Party Adapter Service Dialog"

  12. Click OK.

    The third party adapter service component (Location) is created and displayed in the External References pane, as shown in Figure 5-14.

    Figure 5-14 External References Pane

    External References pane
    Description of "Figure 5-14 External References Pane"

    You are now ready to configure an outbound Mediator process component.

Configuring an Outbound Mediator Process Component

Perform the following steps to configure an outbound Mediator process component:

  1. Drag and drop the Mediator component from the Component Palette tab (Service Components section) to the Components pane, as shown in Figure 5-15.

    Figure 5-15 Mediator Component

    Components pane
    Description of "Figure 5-15 Mediator Component"

    The Create Mediator dialog is displayed, as shown in Figure 5-16.

    Figure 5-16 Create Mediator Dialog

    Create Mediator dialog box
    Description of "Figure 5-16 Create Mediator Dialog"

  2. In the Name field, enter a name to identify the new outbound Mediator process component (for example, LOCATION_Mediator).

  3. From the Template list, select Synchronous Interface.

  4. Click the Browse Input Elements icon, which is located to the right of the Input field to select the associated XML request schema file.

    The Type Chooser dialog is displayed, as shown in Figure 5-17.

    Figure 5-17 Type Chooser Dialog

    Type Chooser dialog box
    Description of "Figure 5-17 Type Chooser Dialog"

  5. Expand Project WSDL Files, LOCATION_invoke.wsdl, Inline Schemas, schema, and select PS8.

  6. Click OK.

    You are returned to the Create Mediator dialog, as shown in Figure 5-18.

    Figure 5-18 Create Mediator Dialog

    Create Mediator dialog box
    Description of "Figure 5-18 Create Mediator Dialog"

  7. Click the Browse Output Elements icon, which is located to the right of the Output field to select the associated XML response schema file.

    The Type Chooser dialog is displayed, as shown in Figure 5-19.

    Figure 5-19 Type Chooser Dialog

    Type Chooser dialog box
    Description of "Figure 5-19 Type Chooser Dialog"

  8. Expand Project WSDL Files, LOCATION_invoke.wsdl, Inline Schemas, schema, and select PS8.

  9. Click OK.

    You are returned to the Create Mediator dialog, as shown in Figure 5-20.

    Figure 5-20 Create Mediator Dialog

    Create Mediator dialog box
    Description of "Figure 5-20 Create Mediator Dialog"

  10. Click OK.

  11. Create a connection between the outbound Mediator process component (LOCATION_ Mediator) and the third party adapter service component (Location), as shown in Figure 5-21.

    Figure 5-21 Created Connection

    Oracle JDeveloper workspace area
    Description of "Figure 5-21 Created Connection"

    You are now ready to configure the routing rules.

Configuring the Routing Rules

Perform the following steps to configure routing rules for the Mediator outbound process component:

  1. Double-click the outbound Mediator process component (LOCATION_ Mediator) in the Components pane, as shown in Figure 5-22.

    Figure 5-22 Outbound Mediator Process Component

    Components pane
    Description of "Figure 5-22 Outbound Mediator Process Component"

    The Routing Rules dialog is displayed, as shown in Figure 5-23.

    Figure 5-23 Routing Rules Dialog

    Routing Rules dialog box
    Description of "Figure 5-23 Routing Rules Dialog"

  2. In the <<Filter Expression>> area, click the Select an existing mapper file or create a new one icon to the right of the Transform Using field.

    The Request Transformation Map dialog is displayed, as shown in Figure 5-24.

    Figure 5-24 Request Transformation Map Dialog

    Request Transformation Map dialog box
    Description of "Figure 5-24 Request Transformation Map Dialog"

  3. Select the Create New Mapper File option and click OK.

    The PS8_To_PS8.xsl tab is displayed, as shown in Figure 5-25.

    Figure 5-25 PS8_To_PS8.xsl Tab

    PS8_To_PS8.xsl tab
    Description of "Figure 5-25 PS8_To_PS8.xsl Tab"

  4. Map the ci:PS8 source element to the ci:PS8 target element.

    The Auto Map Preferences dialog is displayed, as shown in Figure 5-26.

    Figure 5-26 Auto Map Preferences Dialog

    Auto Map Preferences dialog box
    Description of "Figure 5-26 Auto Map Preferences Dialog"

  5. Retain the default values and click OK.

  6. Click the LOCATION_Mediator.mplan tab, as shown in Figure 5-27.

    Figure 5-27 LOCATION_Mediator.mplan Tab

    LOCATION_Mediator.mplan tab
    Description of "Figure 5-27 LOCATION_Mediator.mplan Tab"

    You are returned to the Routing Rules dialog, as shown in Figure 5-28.

    Figure 5-28 Routing Rules Dialog

    Routing Rules dialog box
    Description of "Figure 5-28 Routing Rules Dialog"

  7. In the Synchronous Reply area, click the Select an existing mapper file or create a new one icon to the right of the Transform Using field.

    The Reply Transformation Map dialog is displayed, as shown in Figure 5-29.

    Figure 5-29 Reply Transformation Map Dialog

    Reply Transformation Map dialog box
    Description of "Figure 5-29 Reply Transformation Map Dialog"

  8. Select the Create New Mapper File option and click OK.

    The PS8_To_PS8_2.xsl tab is displayed, as shown in Figure 5-30.

    Figure 5-30 PS8_To_PS8_2.xsl Tab

    PS8_To_PS8_2.xsl tab
    Description of "Figure 5-30 PS8_To_PS8_2.xsl Tab"

  9. Map the iWayResponse:PS8 source element to the iWayResponse:PS8 target element.

    The Auto Map Preferences dialog is displayed, as shown in Figure 5-31.

    Figure 5-31 Auto Map Preferences Dialog

    Auto Map Preferences dialog box
    Description of "Figure 5-31 Auto Map Preferences Dialog"

  10. Retain the default values and click OK.

    The mapping is completed, as shown in Figure 5-32.

    Figure 5-32 Completed Mapping

    completed mapping
    Description of "Figure 5-32 Completed Mapping"

  11. Click the Save All icon in the menu bar to save the new outbound Mediator process component that was configured, as shown in Figure 5-33.

    Figure 5-33 Save All Icon

    Save All icon
    Description of "Figure 5-33 Save All Icon"

    You are now ready to deploy the Mediator outbound process.

Deploying the Mediator Outbound Process

Perform the following steps to deploy the Mediator outbound process.

  1. Right-click the project name in the left pane (for example, LOCATION_Invoke), select Deploy, and then click LOCATION_Invoke, as shown in Figure 5-34.

    Figure 5-34 Deploy Option

    Deploy context menu
    Description of "Figure 5-34 Deploy Option"

    The Deployment Action page is displayed, as shown in Figure 5-35.

    Figure 5-35 Deployment Action Page

    Deployment Action pane
    Description of "Figure 5-35 Deployment Action Page"

  2. Ensure that Deploy to Application Server is selected.

  3. Click Next.

    The Deploy Configuration page is displayed, as shown in Figure 5-36.

    Figure 5-36 Deploy Configuration Page

    Deploy Configuration pane
    Description of "Figure 5-36 Deploy Configuration Page"

  4. Leave the default values selected and click Next.

    The Select Server page is displayed, as shown in Figure 5-37.

    Figure 5-37 Select Server Page

    Select Server pane
    Description of "Figure 5-37 Select Server Page"

  5. Select an available application server that was configured and click Next.

    The SOA Servers page is displayed, as shown in Figure 5-38.

    Figure 5-38 SOA Servers Page

    SOA Servers page
    Description of "Figure 5-38 SOA Servers Page"

  6. Select a target SOA server and click Next.

    The Summary page is displayed, as shown in Figure 5-39.

  7. Review and verify all the available deployment information for your project and click Finish.

    The process is deployed successfully, as shown in Figure 5-40.

    Figure 5-40 Successful Deployment Message

    SOA Log tab
    Description of "Figure 5-40 Successful Deployment Message"

Invoking the Input XML Document in the Oracle Enterprise Manager Console

Perform the following steps to invoke the input XML document in the Oracle Enterprise Manager console.

  1. Logon to the Oracle Enterprise Manager console by using the following URL:

    http://localhost:7001/em
    
  2. Expand your domain in the left pane followed by the SOA folder, as shown in Figure 5-41.

    Figure 5-41 Oracle Enterprise Manager Console

    Oracle Enterprise Manager console
    Description of "Figure 5-41 Oracle Enterprise Manager Console"

  3. Select an available project (for example, PSoft_Outbound_LOCATION_Mediator).

  4. Click Test in the right pane, as shown in Figure 5-42.

    The Test Web Service page is displayed, as shown in Figure 5-43.

    Figure 5-43 Test Web Service Page

    Test Web Service pane
    Description of "Figure 5-43 Test Web Service Page"

  5. Click the Request tab.

  6. Scroll down to the Input Arguments section, as shown in Figure 5-44.

    Figure 5-44 Input Arguments Section

    Request tab
    Description of "Figure 5-44 Input Arguments Section"

  7. Select XML View from the list in the upper-left corner.

  8. Provide an appropriate input XML document in the Input Arguments area.

    For example:

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body xmlns:ci="urn:iwaysoftware:adapter:peoplesoft:location:ci:request"><ci:PS8>  <ci:component perform="browse">LOCATION</ci:component>  <ci:key name="SETID">SHARE</ci:key>  <ci:key name="LOCATION">ALBERTA</ci:key></ci:PS8></soap:Body></soap:Envelope>
    
  9. Click Test Web Service.

    The output response is received in the Response tab of the Oracle Enterprise Manager console, as shown in Figure 5-45.

    Figure 5-45 Oracle Enterprise Manager Console

    Response tab
    Description of "Figure 5-45 Oracle Enterprise Manager Console"

Configuring a Mediator Inbound Process

The following example describes how to configure a Mediator inbound process to your PeopleSoft system, using a Mediator project in Oracle JDeveloper.

Prerequisites

Before you design a Mediator inbound process, you must generate the respective WSDL file using Application Explorer. For more information, see "Generating WSDL for Event Integration".

Samples have been provided for this usecase scenario in the etc/sample folder in Application Adapters installation.

Creating a New SOA Application for the Inbound Mediator Process

Perform the following steps to create a new SOA application for the inbound Mediator process:

  1. Open Oracle JDeveloper on your system.

  2. Click Application in the menu bar and select New from the menu, as shown in Figure 5-46.

    The Create SOA Application wizard is displayed, as shown in Figure 5-47.

    Figure 5-47 Create SOA Application Wizard

    Create SOA Application wizard
    Description of "Figure 5-47 Create SOA Application Wizard"

  3. From the Application Template list, click SOA Application.

  4. Enter a name for the new SOA application (for example, PSoft_Inbound_Mediator) and click Next.

    The Name your project page is displayed, as shown in Figure 5-48.

    Figure 5-48 Name Your Project Page

    Name your project pane
    Description of "Figure 5-48 Name Your Project Page"

  5. Enter a project name (for example, LOCATION_SYNC_Receive) and click Next.

    The Configure SOA settings page is displayed, as shown in Figure 5-49.

    Figure 5-49 Configure SOA Settings Page

    Configure SOA settings pane
    Description of "Figure 5-49 Configure SOA Settings Page"

  6. From the Composite Template list, select Empty Composite and click Finish.

    Figure 5-50 New SOA Application and Associated Project

    Application Navigator tab
    Description of "Figure 5-50 New SOA Application and Associated Project"

    The new SOA application (PSoft_Inbound_Mediator) and associated project (LOCATION_SYNC_Receive) are added to the Application Navigator tab in the left pane, as shown in Figure 5-50.

Defining a Mediator Inbound Process

This section describes how to define a Mediator inbound process, which consists of the following stages:

  1. Configuring a Third Party Adapter Service Component

  2. Configuring an Inbound Mediator Process Component With a File Adapter

  3. Configuring the Routing Rules

Configuring a Third Party Adapter Service Component

Perform the following steps to create a third party adapter service component:

  1. Drag and drop the Third Party Adapter component from the Component Palette tab (Service Adapters section) to the Exposed Services pane, as shown in Figure 5-51.

    Figure 5-51 Third Party Adapter Component

    Exposed Services pane
    Description of "Figure 5-51 Third Party Adapter Component"

    The Create Third Party Adapter Service dialog is displayed, as shown in Figure 5-52.

    Figure 5-52 Create Third Party Adapter Service Dialog

    Create Third Party Adapter Service dialog box
    Description of "Figure 5-52 Create Third Party Adapter Service Dialog"

  2. Enter a name for the third party adapter service.

  3. Ensure that Service is selected from the Type list (default).

  4. Click the Find existing WSDLs icon, which is located to the right of the WSDL URL field.

    The SOA Resource Browser dialog is displayed, as shown in Figure 5-53.

    Figure 5-53 SOA Resource Browser Dialog

    SOA Resource Browser dialog box
    Description of "Figure 5-53 SOA Resource Browser Dialog"

  5. Browse and select an inbound WSDL file (for example, LOCATION_SYNC.VERSION_1_receive.wsdl) from the following directory:

    <ADAPTER_HOME>\soa\thirdparty\ApplicationAdapters\wsdls
    
  6. Click OK.

    The Localize Files dialog is displayed, as shown in Figure 5-54.

    Figure 5-54 Localize Files Dialog

    Localize Files dialog box
    Description of "Figure 5-54 Localize Files Dialog"

  7. Click OK.

    The inbound WSDL file and associated receive/request XML schema file (.xsd) are imported to the project folder that has been created.

    You are returned to the Create Third Party Adapter Service dialog, as shown in Figure 5-55.

    Figure 5-55 Create Third Party Adapter Service Dialog

    Create Third Party Adapter Service dialog box
    Description of "Figure 5-55 Create Third Party Adapter Service Dialog"

  8. Click the Find JCA Files icon, which is located to the right of the JCA File field.

    The SOA Resource Browser dialog is displayed, as shown in Figure 5-56.

    Figure 5-56 SOA Resource Browser Dialog

    SOA Resource Browser dialog box
    Description of "Figure 5-56 SOA Resource Browser Dialog"

  9. Browse and select the JCA properties file (for example, LOCATION_SYNC.VERSION_1_receive.jca)from the following directory:

    <ADAPTER_HOME>\soa\thirdparty\ApplicationAdapters\wsdls
    
  10. Click OK.

    The following message is displayed, as shown in Figure 5-57.

    Figure 5-57 Copy File Confirmation Message

    Copy File message
    Description of "Figure 5-57 Copy File Confirmation Message"

  11. Click Yes.

    A copy of the JCA properties file is made in the project folder.

    You are returned to the Create Third Party Adapter Service dialog, as shown in Figure 5-58.

    Figure 5-58 Create Third Party Adapter Service Dialog

    Create Third Party Adapter Service dialog box
    Description of "Figure 5-58 Create Third Party Adapter Service Dialog"

  12. Click OK.

    The third party adapter service component (location_sync) is created and displayed in the Exposed Services pane, as shown in Figure 5-59.

    Figure 5-59 Third Party Adapter Service Component

    Exposed Services pane
    Description of "Figure 5-59 Third Party Adapter Service Component"

    You are now ready to configure an inbound Mediator process component.

Configuring an Inbound Mediator Process Component With a File Adapter

Perform the following steps to configure an inbound Mediator process component with a File adapter.

  1. Drag and drop the Mediator component from the Component Palette tab (Service Components section) to the Components pane, as shown in Figure 5-60.

    Figure 5-60 Mediator Component

    Components pane
    Description of "Figure 5-60 Mediator Component"

    The Create Mediator dialog is displayed, as shown in Figure 5-61.

    Figure 5-61 Create Mediator Dialog

    Create Mediator dialog box
    Description of "Figure 5-61 Create Mediator Dialog"

  2. In the Name field, enter a name to identify the new inbound Mediator process component (for example, LOCATION_SYNC_Mediator).

  3. From the Template list, select Define Interface Later.

  4. Click the OK.

    The new Mediator process component is added to the Components pane, as shown in Figure 5-62.

    Figure 5-62 Mediator Process Component

    Components pane
    Description of "Figure 5-62 Mediator Process Component"

  5. Drag and drop the File Adapter component from the Service Adapters pane to the External References pane.

    The Adapter Configuration Wizard is displayed, showing the Welcome page, as shown in Figure 5-63.

    Figure 5-63 Adapter Configuration Wizard

    Adapter Configuration Wizard
    Description of "Figure 5-63 Adapter Configuration Wizard"

  6. Click Next.

    The Service Name page is displayed, as shown in Figure 5-64.

    Figure 5-64 Service Name Page

    Service Name pane
    Description of "Figure 5-64 Service Name Page"

  7. Type a name for the new File adapter in the Service Name field and click Next.

    The Adapter Interface page is displayed, as shown in Figure 5-65.

    Figure 5-65 Adapter Interface Page

    Adapter Interface pane
    Description of "Figure 5-65 Adapter Interface Page"

  8. Ensure that the Define from operation and schema (specified later) option is selected.

  9. Click Next.

    The Operation page is displayed, as shown in Figure 5-66.

    Figure 5-66 Operation Page

    Operation pane
    Description of "Figure 5-66 Operation Page"

  10. Select Write File from the list of Operation Type options and specify an Operation Name (for example, Write).

  11. Click Next.

    The File Configuration page is displayed, as shown in Figure 5-67.

    Figure 5-67 File Configuration Page

    File Configuration pane
    Description of "Figure 5-67 File Configuration Page"

  12. Specify a location on your file system where the output file is written.

  13. In the File Naming Convention field, specify a name for the output file.

  14. Click Next.

    The Messages page is displayed, as shown in Figure 5-68.

    Figure 5-68 Messages Page

    Messages pane
    Description of "Figure 5-68 Messages Page"

  15. Click browse for schema file, which is located to the right of the URL field.

    The Type Chooser dialog is displayed, as shown in Figure 5-69.

    Figure 5-69 Type Chooser Dialog

    Type Chooser dialog box
    Description of "Figure 5-69 Type Chooser Dialog"

  16. Expand Project WSDL Files, LOCATION_SYNC.VERSION_1_receive.wsdl, Inline Schemas, and schema.

  17. Select the available schema (for example, LOCATION_SYNC)

  18. Click OK.

    You are returned to the Messages page, as shown in Figure 5-70.

    Figure 5-70 Messages Page

    Messages pane
    Description of "Figure 5-70 Messages Page"

  19. Click Next.

    The Finish page is displayed, as shown in Figure 5-71.

  20. Click Finish.

  21. Create a connection between the inbound Mediator process component and the third party adapter service component, as shown in Figure 5-72.

    Figure 5-72 Created Connection

    Oracle JDeveloper workspace area
    Description of "Figure 5-72 Created Connection"

  22. Create a connection between the inbound Mediator process component and the File adapter component, as shown in Figure 5-73.

    Figure 5-73 Created Connection

    Oracle JDeveloper workspace area
    Description of "Figure 5-73 Created Connection "

    You are now ready to configure the routing rules.

Configuring the Routing Rules

Perform the following steps to configure routing rules for the Mediator inbound process component:

  1. Double-click the inbound Mediator process component in the Components pane, as shown in Figure 5-74.

    Figure 5-74 Inbound Mediator Process Component

    inbound Mediator process component
    Description of "Figure 5-74 Inbound Mediator Process Component"

    The Routing Rules dialog is displayed, as shown in Figure 5-75.

    Figure 5-75 Routing Rules Dialog

    Routing Rules dialog box
    Description of "Figure 5-75 Routing Rules Dialog"

  2. In the <<Filter Expression>> area, click the Select an existing mapper file or create a new one icon to the right of the Transform Using field.

    The Request Transformation Map dialog is displayed, as shown in Figure 5-76.

    Figure 5-76 Request Transformation Map Dialog

    Request Transformation Map dialog box
    Description of "Figure 5-76 Request Transformation Map Dialog"

  3. Select the Create New Mapper File option and click OK.

    The LOCATION_SYNC_To_LOCATION_SYNC.xsl tab is displayed, as shown in Figure 5-77.

    Figure 5-77 LOCATION_SYNC_To_LOCATION_SYNC.xsl Tab

    LOCATION_SYNC_To_LOCATION_SYNC.xsl tab
    Description of "Figure 5-77 LOCATION_SYNC_To_LOCATION_SYNC.xsl Tab"

  4. Map the iWayEvent:LOCATION_SYNC source element to the iWayEvent:LOCATION_SYNC target element.

    The Auto Map Preferences dialog is displayed, as shown in Figure 5-78.

    Figure 5-78 Auto Map Preferences Dialog

    Auto Map Preferences dialog box
    Description of "Figure 5-78 Auto Map Preferences Dialog"

  5. Retain the default values and click OK.

    The mapping is now complete, as shown in Figure 5-79.

    Figure 5-79 Completed Mapping

    completed mapping
    Description of "Figure 5-79 Completed Mapping"

  6. Click the Save All icon in the menu bar to save the new inbound Mediator process component that was configured, as shown in Figure 5-80.

    Figure 5-80 Save All Icon

    Save All icon
    Description of "Figure 5-80 Save All Icon"

    You are now ready to deploy the Mediator inbound process. You can follow the same procedure that is described in "Deploying the BPEL Inbound Process".

    Once event messages are triggered through PeopleSoft, output XML is received in the location that was specified for the File adapter component. For more information on how to trigger events in PeopleSoft, see "Triggering an Event in PeopleSoft".