Skip Headers
Oracle® Fusion Middleware Application Adapter for J.D. Edwards OneWorld User's Guide for Oracle WebLogic Server
11g Release 1 (11.1.1.3.0)

Part Number E17058-03
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

7 Configuring Outbound and Inbound Processing Using Oracle Service Bus

Oracle Application Adapter for J.D. Edwards OneWorld integrates seamlessly with Oracle Service Bus (OSB) to facilitate Web service integration. OSB is based on the Service-Oriented Architecture (SOA). It consumes adapter services exposed as Web Service Definition Language (WSDL) documents.

This chapter contains the following topics:

Overview of Application Adapter Integration with Oracle Service Bus

To integrate with Oracle Service Bus (OSB), Oracle Application Adapter for J.D. Edwards OneWorld must be deployed in the same Oracle WebLogic Server as OSB. The underlying adapter services must be exposed as WSDL files, which are generated during design time in Oracle Adapter Application Explorer (Application Explorer) for both request-response (outbound) and event notification (inbound) services of the adapter.

Configuring Outbound Processing Using Oracle Service Bus (J2CA Configuration)

This section describes how to configure outbound processing using Oracle Service Bus for J2CA configurations.

This section includes the following topics:

Starting Oracle Service Bus and Creating Project Folders

Perform the following steps to start Oracle Service Bus and create project folders:

  1. Start the Oracle WebLogic Server for the Oracle WebLogic Server domain that you have configured.

  2. Open the Oracle Service Bus Console in a Web browser by entering the following URL:

    http://hostname:port/sbconsole
    

    Where hostname is the name of the machine where Oracle WebLogic Server is running and port is the port for the domain you are using. The port for the default domain is 7001.

    The Oracle Service Bus Console logon page is displayed.

  3. Log on to the Oracle Service Bus Console using a valid user name and password.

    The Oracle Service Bus Console home page is displayed, as shown in Figure 7-1.

    Figure 7-1 Oracle Service Bus Console

    OSB home
    Description of "Figure 7-1 Oracle Service Bus Console"

  4. Click Create in the Change Center area to start a new Oracle Service Bus session, as shown in Figure 7-2.

    Figure 7-2 Change Center Create Button

    Change Center
    Description of "Figure 7-2 Change Center Create Button"

  5. Click Project Explorer in the left pane, as shown in Figure 7-3.

    Figure 7-3 Project Explorer Selection

    Project Explorer option
    Description of "Figure 7-3 Project Explorer Selection"

    The Project Explorer page is displayed, as shown in Figure 7-4.

    Figure 7-4 Project Explorer Page

    Project Explorer
    Description of "Figure 7-4 Project Explorer Page"

  6. Provide a valid name for the new project (for example, JDE_Project) and click Add Project.

    The project is successfully created and listed.

  7. Click on the created project.

    The project page is displayed, as shown in Figure 7-5.

  8. In the Enter New Folder Name field, type Business Service and click Add Folder.

  9. In the Enter New Folder Name field, type Proxy Service and click Add Folder.

  10. In the Enter New Folder Name field, type wsdls and click Add Folder.

    The Business Service, Proxy Service, and wsdls folders are listed in the left pane below the project node. as shown in Figure 7-6.

    Figure 7-6 Project Explorer

    project folders
    Description of "Figure 7-6 Project Explorer"

Setting the Class Path for Application Explorer to Integrate With Oracle Service Bus

Before starting and using Application Explorer to publish a WSDL directly to the Oracle Service Bus (OSB) Console (project/folder), OSB users must perform the following steps:

  1. Open the command prompt window.

  2. Navigate to the following directory:

    <OSB_Home>\user_projects\domains\base_domain\bin
    
  3. Execute setDomainEnv.cmd (Windows) or . ./setDomainEnv.sh (UNIX/Linux).

    This command sets the class path for Application Explorer to access the Oracle WebLogic Server APIs to publish the WSDLs to the OSB Console.

  4. Do not close the command prompt window.

  5. Navigate to the following directory:

    <OSB_Home>\3rdparty\ApplicationAdapters\tools\iwae\bin
    
  6. Execute ae.bat (Windows) or iwae.sh (UNIX/Linux) to start Application Explorer.

    You are now ready to publish WSDLs from Application Explorer to the OSB Console.

Publishing a WSDL From Application Explorer to Oracle Service Bus

Perform the following steps to publish a WSDL from Application Explorer to Oracle Service Bus:

  1. Start Application Explorer, connect to a J2CA configuration, and connect to a J.D. Edwards OneWorld target.

    For more information, see Chapter 2, "Configuring Oracle Application Adapter for J.D. Edwards OneWorld".

  2. Expand Services, CALLBSFN, and Addressbook, as shown in Figure 7-7.

    Figure 7-7 Create Outbound JCA Service (Request/Response) Option

    Application Explorer context menu
    Description of "Figure 7-7 Create Outbound JCA Service (Request/Response) Option"

  3. Right-click GetEffectiveAddress, and then select Create Outbound JCA Service (Request/Response).

    The Export WSDL dialog is displayed, as shown in Figure 7-8.

    Figure 7-8 Export WSDL Dialog

    Export WSDL dialog
    Description of "Figure 7-8 Export WSDL Dialog"

  4. In the Name field, a default file name for the WSDL file is provided. You can accept the default or provide your own.

  5. Select the Export to OSB option.

  6. In the Location field, enter the folder name in Oracle Service Bus where you want to publish the WSDL document.

    The location is composed of an Oracle Service Bus project name and optionally, one or more folder names. The project name and any folder names must be separated by a forward slash character “/”.

  7. In the Host field, enter the name of the machine where Oracle Service Bus is installed.

  8. In the Port field, enter the port that is being used by Oracle Service Bus.

  9. In the User field, enter your username to access Oracle Service Bus.

  10. In the Password field, enter your password to access Oracle Service Bus.

  11. Click OK.

    The WSDL is published to the location specified in the Export WSDL dialog and is now available for use with a Business Service or Proxy Service in Oracle Service Bus.

  12. Open the Oracle Service Bus Console and select the created WSDL folder in the left pane (for example, wsdls), as shown in Figure 7-9.

    Figure 7-9 Oracle Service Bus Console

    WSDL folder
    Description of "Figure 7-9 Oracle Service Bus Console"

  13. Ensure that the exported WSDL is listed, as shown in Figure 7-10.

    Figure 7-10 Resource List

    exported WSDL
    Description of "Figure 7-10 Resource List"

  14. Click the icon that corresponds to the exported WSDL in the Actions column.

    The Generate WSDL and Service page is displayed, as shown in Figure 7-11.

    Figure 7-11 Generate WSDL and Service Page

    Generate WSDL and Service page
    Description of "Figure 7-11 Generate WSDL and Service Page"

  15. Provide a new WSDL name and a new service name in the corresponding fields, as shown in Figure 7-12.

    Figure 7-12 Generate WSDL and Service Page

    Generate WSDL and Service page
    Description of "Figure 7-12 Generate WSDL and Service Page"

  16. In the Location area, select an available project and the sub-folder that is designated for Business Services.

  17. Click Generate.

    If the WSDL and Service resources are successfully created, then the following message is displayed, as shown in Figure 7-13.

    Figure 7-13 Success Message

    success message
    Description of "Figure 7-13 Success Message"

Configuring a File Type Business Service

Perform the following steps to configure a File type Business Service:

  1. Select the Business Service folder you created in the left pane, as shown in Figure 7-14.

    Figure 7-14 Project Explorer

    Select Business Service
    Description of "Figure 7-14 Project Explorer"

  2. In the right pane, select Business Service from the Create Resource menu, as shown in Figure 7-15.

    Figure 7-15 Create Resource Menu

    Select Business Service
    Description of "Figure 7-15 Create Resource Menu"

    The General Configuration page is displayed, as shown in Figure 7-16.

    Figure 7-16 General Configuration Page

    General Configuration page
    Description of "Figure 7-16 General Configuration Page"

  3. Provide a name for the Business Service and from the Service Type area select Messaging Service.

  4. Click Next.

    The Message Type Configuration page is displayed, as shown in Figure 7-17.

    Figure 7-17 Message Type Configuration Page

    Message Type Configuration page
    Description of "Figure 7-17 Message Type Configuration Page"

  5. Select XML as the Request Message Type and None as the Response Message Type.

  6. Click Next.

    The Transport Configuration page is displayed, as shown in Figure 7-18.

    Figure 7-18 Transport Configuration Page

    Transport Configuration page
    Description of "Figure 7-18 Transport Configuration Page"

  7. Select file from the Protocol list.

  8. Enter the path to a destination folder on your file system in the Endpoint URI field and click Add.

  9. Click Next, as shown in Figure 7-19.

    Figure 7-19 Transport Configuration Page

    Transport Configuration page
    Description of "Figure 7-19 Transport Configuration Page"

    The FILE Transport Configuration page is displayed, as shown in Figure 7-20.

    Figure 7-20 FILE Transport Configuration Page

    FILE Transport Configuration page
    Description of "Figure 7-20 FILE Transport Configuration Page"

  10. Enter the prefix and suffix for the output file to be received and click Next.

    The Message Handling and Advanced Settings page is displayed, as shown in Figure 7-21.

    Figure 7-21 Message Handling and Advanced Settings Page

    Message Handling page
    Description of "Figure 7-21 Message Handling and Advanced Settings Page"

  11. Click Next.

    The following Summary page is displayed, as shown in Figure 7-22.

  12. Review all the information for your Business Service and click Save.

  13. Check if the success message is displayed and click Activate in the Change Center, as shown in Figure 7-23.

    Figure 7-23 Change Center Activate Button

    Activate button
    Description of "Figure 7-23 Change Center Activate Button"

    The Activate Session page is displayed, as shown in Figure 7-24.

    Figure 7-24 Activate Session Page

    Activate Session page
    Description of "Figure 7-24 Activate Session Page"

  14. Click Submit.

  15. Check if the View Configuration Changes page is displayed, as shown in Figure 7-25.

    Figure 7-25 View Configuration Changes Page

    View Configuration Changes page
    Description of "Figure 7-25 View Configuration Changes Page"

Configuring a Proxy Service

Perform the following steps to configure a Proxy Service:

  1. Select the Proxy Service folder you created in the left pane, as shown in Figure 7-26.

    Figure 7-26 Create Resource Menu Proxy Service

    Select Proxy Service
    Description of "Figure 7-26 Create Resource Menu Proxy Service"

  2. In the right pane, select Proxy Service from the Create Resource menu.

    The General Configuration page is displayed, as shown in Figure 7-27.

    Figure 7-27 General Configuration Page

    General Configuration
    Description of "Figure 7-27 General Configuration Page"

  3. Provide a name for the Proxy Service and from the Service Type area select Any XML Service.

  4. Click Next, as shown in Figure 7-28.

    Figure 7-28 Transport Configuration Page

    Transport Configuration page
    Description of "Figure 7-28 Transport Configuration Page"

  5. Select file from the Protocol list.

  6. Enter the path to an input folder on your file system in the Endpoint URI field.

  7. Click Next, as shown in Figure 7-29.

    Figure 7-29 FILE Transport Configuration Page

    File Transport Configuration page
    Description of "Figure 7-29 FILE Transport Configuration Page"

  8. Provide any folder locations on your file system for the Stage Directory and Error Directory fields.

  9. Click Next, as shown in Figure 7-30.

    Figure 7-30 Message Handling Page

    Message Handling page
    Description of "Figure 7-30 Message Handling Page"

  10. Accept the default values and click Next.

    The following Summary page is displayed, as shown in Figure 7-31.

  11. Review all the information for your Proxy Service and click Save.

  12. Check if the success message is displayed, as shown in Figure 7-32.

    Figure 7-32 Success Message

    success message
    Description of "Figure 7-32 Success Message"

Configuring a Pipeline

Perform the following steps to configure a Pipeline:

  1. Click the Edit Message Flow icon in the row of the Proxy Service you created, as shown in Figure 7-33.

    Figure 7-33 Edit Message Flow Icon

    Edit Message Flow Icon
    Description of "Figure 7-33 Edit Message Flow Icon"

    The Edit Message Flow workspace area is displayed, as shown in Figure 7-34.

    Figure 7-34 Edit Message Flow Workspace Area

    Edit Message Flow workspace
    Description of "Figure 7-34 Edit Message Flow Workspace Area"

  2. Click the Proxy Service icon and select Add Pipeline Pair from the menu.

    Add Pipeline Pair
    Description of the illustration osb_out_flow3.gif

  3. Click the PipelinePairNode1 icon and select Add Route from the menu, as shown in Figure 7-35.

    Figure 7-35 Add Route Menu Selection

    Add Stage
    Description of "Figure 7-35 Add Route Menu Selection"

    The RouteNode1 icon is added below the Request Pipeline icon, as shown in Figure 7-36.

    Figure 7-36 Edit Route Menu Selection

    Edit Stage
    Description of "Figure 7-36 Edit Route Menu Selection"

  4. Click the RouteNode1 icon and select Edit Route from the menu.

    The Edit Stage Configuration workspace area is displayed, as shown in Figure 7-37.

    Figure 7-37 Edit Stage Configuration Workspace Area

    Add Log
    Description of "Figure 7-37 Edit Stage Configuration Workspace Area"

  5. Click Add an Action, select Communication from the menu, and click Routing, as shown in Figure 7-38.

    Figure 7-38 Edit Stage Configuration Workspace Area

    Edit Expression
    Description of "Figure 7-38 Edit Stage Configuration Workspace Area"

  6. Click <Service>.

    The Select Service dialog is displayed, as shown in Figure 7-39.

    Figure 7-39 Select Service Dialog

    Select Service dialog
    Description of "Figure 7-39 Select Service Dialog"

  7. Select a WSDL type Business Service and click Submit.

    You are returned to the Edit Stage Configuration workspace area, as shown in Figure 7-40.

    Figure 7-40 Edit Stage Configuration Workspace Area

    Edit Stage Configuration
    Description of "Figure 7-40 Edit Stage Configuration Workspace Area"

  8. Select the name of the J.D. Edwards OneWorld business object (for example, GetEffectiveAddress) as the operational attribute from the list, as shown in Figure 7-41.

    Figure 7-41 Edit Stage Configuration

    Edit Stage Configuration
    Description of "Figure 7-41 Edit Stage Configuration "

  9. Click Save, as shown in Figure 7-42.

    Figure 7-42 Add Stage Menu Selection

    Add Stage
    Description of "Figure 7-42 Add Stage Menu Selection"

  10. Click the Response Pipeline icon and select Add Stage from the menu.

    The Stage1 icon is added below the Response Pipeline icon, as shown in Figure 7-43.

    Figure 7-43 Edit Stage Menu Selection

    Edit Stage
    Description of "Figure 7-43 Edit Stage Menu Selection"

  11. Click the Stage1 icon and select Edit Stage from the menu.

    The Edit Stage Configuration workspace area is displayed, as shown in Figure 7-44.

    Figure 7-44 Edit Stage Configuration Workspace Area

    Select Publish
    Description of "Figure 7-44 Edit Stage Configuration Workspace Area"

  12. Click Add an Action, select Communication from the menu, and click Publish, as shown in Figure 7-45.

    Figure 7-45 Edit Stage Configuration Workspace Area

    Add Service
    Description of "Figure 7-45 Edit Stage Configuration Workspace Area"

  13. Click <Service>.

    The Select Service dialog is displayed, as shown in Figure 7-46.

    Figure 7-46 Select Service Dialog

    Select Service dialog
    Description of "Figure 7-46 Select Service Dialog"

  14. Select a File type Business Service and click Submit.

    You are returned to the Edit Stage Configuration workspace area, as shown in Figure 7-47.

    Figure 7-47 Edit Stage Configuration Workspace Area

    Edit Stage Configuration
    Description of "Figure 7-47 Edit Stage Configuration Workspace Area"

  15. Click Save.

    You are returned to the Edit Message Flow workspace area, as shown in Figure 7-48.

    Figure 7-48 Edit Message Flow Workspace Area

    Edit Message Flow
    Description of "Figure 7-48 Edit Message Flow Workspace Area"

  16. Click Save, as shown in Figure 7-49.

    Figure 7-49 Success Message

    success message
    Description of "Figure 7-49 Success Message"

  17. Check if the success message is displayed and click Activate in the Change Center.

    The Activate Session page is displayed, as shown in Figure 7-50.

    Figure 7-50 Activate Session Page

    Activate Session page
    Description of "Figure 7-50 Activate Session Page"

  18. Click Submit.

  19. Check if the View Configuration Changes page is displayed, as shown in Figure 7-51.

    Figure 7-51 View Configuration Changes Page

    View Configuration Changes page
    Description of "Figure 7-51 View Configuration Changes Page"

  20. Copy and paste an input XML file in the input folder you have configured, as shown in Figure 7-52.

  21. Output is received in the configured output location.

Configuring Inbound Processing Using Oracle Service Bus (J2CA Configuration)

This section describes how to configure inbound processing using Oracle Service Bus for J2CA configurations.

This section includes the following topics:

Starting Oracle Service Bus and Creating Project Folders

Perform the following steps to start Oracle Service Bus and create project folders:

  1. Start the Oracle WebLogic Server for the Oracle WebLogic Server domain that you have configured.

  2. Open the Oracle Service Bus Console in a Web browser by entering the following URL:

    http://hostname:port/sbconsole
    

    Where hostname is the name of the machine where Oracle WebLogic Server is running and port is the port for the domain you are using. The port for the default domain is 7001.

    The Oracle Service Bus Console logon page is displayed.

  3. Log on to the Oracle Service Bus Console using a valid user name and password.

    The Oracle Service Bus Console home page is displayed, as shown in Figure 7-53.

    Figure 7-53 Oracle Service Bus Console Home Page

    OSB home
    Description of "Figure 7-53 Oracle Service Bus Console Home Page"

  4. Click Create in the Change Center area to start a new Oracle Service Bus session, as shown in Figure 7-54.

  5. Click Project Explorer in the left pane, as shown in Figure 7-55.

    Figure 7-55 Project Explorer

    Project Explorer option
    Description of "Figure 7-55 Project Explorer"

    The Project Explorer page is displayed, as shown in Figure 7-56.

    Figure 7-56 Project Explorer Page

    Project Explorer
    Description of "Figure 7-56 Project Explorer Page"

  6. Provide a valid name for the new project (for example, JDE_Project) and click Add Project.

    The project is successfully created and listed.

  7. Click on the created project.

    The project page is displayed, as shown in Figure 7-57.

    Figure 7-57 Enter New Folder Name Field

    Project page
    Description of "Figure 7-57 Enter New Folder Name Field"

  8. In the Enter New Folder Name field, type Business Service and click Add Folder.

  9. In the Enter New Folder Name field, type Proxy Service and click Add Folder.

  10. In the Enter New Folder Name field, type wsdls and click Add Folder.

    The Business Service, Proxy Service, and wsdls folders are listed in the left pane below the project node, as shown in Figure 7-58.

    Figure 7-58 Project Explorer

    project folders
    Description of "Figure 7-58 Project Explorer"

Setting the Class Path for Application Explorer to Integrate With Oracle Service Bus

Before starting and using Application Explorer to publish a WSDL directly to the Oracle Service Bus (OSB) Console (project/folder), OSB users must perform the following steps:

  1. Open the command prompt window.

  2. Navigate to the following directory:

    <OSB_Home>\user_projects\domains\base_domain\bin
    
  3. Execute setDomainEnv.cmd (Windows) or . ./setDomainEnv.sh (UNIX/Linux).

    This command sets the class path for Application Explorer to access the Oracle WebLogic Server APIs to publish the WSDLs to the OSB Console.

  4. Do not close the command prompt window.

  5. Navigate to the following directory:

    <OSB_Home>\3rdparty\ApplicationAdapters\tools\iwae\bin
    
  6. Execute ae.bat (Windows) or iwae.sh (UNIX/Linux) to start Application Explorer.

    You are now ready to publish WSDLs from Application Explorer to the OSB Console.

Publishing a WSDL From Application Explorer to Oracle Service Bus

Before you publish a WSDL from Application Explorer to Oracle Service Bus, you must create a separate channel for every J2CA event and select that channel when you generate WSDL for inbound interaction using Application Explorer.

Creating a Channel in Application Explorer

To create a channel:

  1. In Application Explorer, connect to a J2CA configuration.

  2. Expand the Events node and then the JDEdwards node, as shown in Figure 7-59.

    Figure 7-59 Application Explorer Add Channel Option

    Add Channel
    Description of "Figure 7-59 Application Explorer Add Channel Option"

  3. Right-click the Channels node, and select Add Channels.

    The Add Channel dialog is displayed, as shown in Figure 7-60.

    Figure 7-60 Add Channel Dialog

    Add Channel dialog box
    Description of "Figure 7-60 Add Channel Dialog"

  4. In the Name field, enter a descriptive name for the channel.

  5. In the Description field, enter a description (optional).

  6. From the Protocol list, choose a protocol for your channel.

  7. Click Next.

    The dialog is displayed for the selected listener, as shown in Figure 7-61.

    Figure 7-61 TcpListener Dialog

    System tab
    Description of "Figure 7-61 TcpListener Dialog"

  8. Enter the port number of the channel in the Port Number field.

  9. Enter the location of the server in the Host/IP Binding field.

  10. Select the Synchronization type from the Synchronization Type list.

  11. Select Is Length Prefix for events that send data which is not in XML format. The TCP/IP event application must prefix the data with a 4-byte binary length field when writing the data to the TCP/IP port.

  12. Select Is XML for events that send data back in XML format. No preparser is required.

  13. Select Is Keep Alive to maintain a continuous communication between the event transaction and the channel.

  14. Click the PreParser tab, as shown in Figure 7-62.

    Figure 7-62 Tcp Listener PreParser Tab

    User tab
    Description of "Figure 7-62 Tcp Listener PreParser Tab"

    Enter values based on the table.

    Parameter Description
    User id* A valid user ID for J.D. Edwards OneWorld.
    User password* The password associated with the user ID.
    JDE environment* Your J.D. Edwards OneWorld environment. For more information about this parameter, see your J.D. Edwards OneWorld documentation or ask your OneWorld system administrator.
    Application XMLInterop or the application name in J.D. Edwards OneWorld. Optional.
    Server IP address* The name of the server on which J.D. Edwards OneWorld is running. This can be the name of the server, for example, JDEOW, or its IP address, for example, 123.45.67.89.
    Server Port* The port number on which the server is listening, for example, 6009.
    User Role Define a user role according to your requirements.
    Schema Location The location of the XML schema (.xsd file) that was generated from the event output. For example:
    <OSB_Home>\3rdparty\ApplicationAdapters\config\config_name\schemas\JDEdwards\target_name\jde-schema.xsd
    
    Schema style Choose from one of the following options:
    • ELEMENT_STYLE (default)

    • ATTRIBUTE_STYLE


    Click OK.

    The channel is created and displayed under the Channels node. An X over the icon indicates that the channel is currently disconnected.

Generating WSDL for Event Notification (Command Prompt Only)

You cannot generate WSDL for J.D. Edwards OneWorld event notification using Application Explorer. To generate WSDL from the command prompt, you must perform the following steps.

You can create inbound J2CA service only if the node you have selected supports events.

Note:

The schema validation options (Root, Namespace, Schema) are not applicable for the Oracle Application Adapter for J.D. Edwards OneWorld.

To generate a WSDL file for J.D. Edwards OneWorld event notification:

  1. Create a channel in Application Explorer under the J.D. Edwards events node.

  2. Start the channel.

    Important: Do not restart the Oracle Application Server after the channel is started.

  3. Send an inbound message from J.D. Edwards OneWorld.

  4. Capture the inbound message payload in the log file located under:

    <OSB_Home>\3rdparty\ApplicationAdapters\config\jca_sample\log\iwaf_jca1500.log
    

    Alternatively, you can create a port with the File protocol under Event in Application Explorer to dispose the event message to the file system.

  5. Use a third party tool such as XMLSpy to create the XSD schema using the XML payload captured in the previous step.

  6. In the generated XML schema (.xsd file) perform the following modifications:

    1. Search for Schemas-jdedwards-com and replace it with iwaysoftware.

    2. Cut the following syntax:

      <xs:element name="jdeResponse"><xs:complexType>  </xs:complexType>  </xs:element>
      
    3. Paste it before the following line:

      <xs:element name="transaction">
      
  7. Copy the XML schema (.xsd file) from the following directory:

    <OSB_Home>\3rdparty\ApplicationAdapters\config\config_name\schemas\JDEdwards\target_name\
    

    Note:

    Edit the created channel by providing the location of the schema (.xsd) file (as mentioned in step 7) in the PreParser tab of Application Explorer. For example:
    <OSB_Home>\3rdparty\ApplicationAdapters\config\config_name\schemas\JDEdwards\target_name\jde-schema.xsd
    
  8. Open a command prompt and navigate to the following directory:

    <OSB_Home>\3rdparty\ApplicationAdapters\tools\iwae\bin
    
  9. Execute the obadapter.bat file to set the environment.

  10. Navigate to the following directory where the XML schema (.xsd file) is copied:

    <OSB_Home>\3rdparty\ApplicationAdapters\config\config_name\schemas\JDEdwards\target_name\
    
  11. Enter the following command to generate a WSDL:

    java -Diway.oem=oracle11g com.iwaysoftware.af.container.tools.wsdl.IWayWSILBrowser adapterhome adapter target channel schemaPrefix wsdlFileName
    

    where:

    adapterhome is the path to your ApplicationAdapters home. For example:

    <OSB_Home>\3rdparty\ApplicationAdapters\
    

    adapter is the name of the adapter. For example, JDEdwards.

    target is the name of the adapter target you created in Application Explorer.

    channel is the name of the channel you created in Application Explorer.

    schemaPrefix is the prefix for the XSD schema. The schema file must be in the same directory where the Java command is executed, for example:

    java -Diway.oem=oracle11g com.iwaysoftware.af.container.tools.wsdl.IWayWSILBrowser C:\OSBPS3\Oracle_OSB1\3rdparty\ApplicationAdapters\wsdls\JDEdwards jde812_tgt jde_ch Jde812_Schema Jde812_salesorder_receive.wsdl
    

    Once the command is executed, the following is displayed in the command window:

    Running Inbound WSDL generation tool...-> user.dir = java com.iwaysoftware.af.container.tools.wsdl.IWayWSILBrowser C:\OSBPS3\Oracle_OSB1\3rdparty\wsdls\ApplicationAdapters\JDEdwards jde812_tgt jde_ch Jde812_Schema Jde812_salesorder_receive.wsdl -> Generating WSDL...-> Done.-> Writing WSDL 'C:\OSBPS3\Oracle_OSB1\3rdparty\ApplicationAdapters\wsdls\Jde812_salesorder_receive.wsdl ' to disk...-> Done.
    

    Note:

    It is good practice to append _receive to the names of WSDL files that are generated for event notification services. This allows you to easily distinguish between them and those generated for request-response services.
  12. Stop the channel in Application Explorer.

Note:

You can organize your WSDL files in subfolders, creating your own WSDL hierarchy structure. Create the folders under <OSB_Home>\3rdparty\ApplicationAdapters\wsdls. The WSIL browser in Oracle JDeveloper displays the full tree structure of your WSDL hierarchy.

Importing the Inbound J.D. Edwards OneWorld WSDL File Into Oracle Service Bus

Once you have generated the inbound WSDL for J.D. Edwards OneWorld, you must import the inbound WSDL file into Oracle Service Bus.

  1. Open the Oracle Service Bus Console and select the created WSDL folder in the left pane (for example, wsdls), as shown in Figure 7-63.

    Figure 7-63 Create Resource Menu

    XML Schema option
    Description of "Figure 7-63 Create Resource Menu"

  2. In the right pane, select XML Schema from the Create Resource menu.

    The Create a New XML Schema Resource page is displayed, as shown in Figure 7-64.

    Figure 7-64 Create a New XML Schema Resource Page

    Create a New XML Schema Resource page
    Description of "Figure 7-64 Create a New XML Schema Resource Page"

  3. Enter a name for the inbound XML schema in the Resource Name field.

    You can also provide a brief description for the resource (optional).

  4. Using the Browse option in the XML Schema field, navigate to the location of the inbound XML schema file (.xsd) on your file system.

  5. Click Save.

    The inbound XML schema is added to the OSB console, as shown in Figure 7-65.

  6. In the right pane, select WSDL from the Create Resource menu, as shown in Figure 7-66.

    Figure 7-66 Create Resource Menu WSDL Option

    WSDL option
    Description of "Figure 7-66 Create Resource Menu WSDL Option"

    The Create a New WSDL Resource page is displayed, as shown in Figure 7-67.

    Figure 7-67 Create a New WSDL Resource Page

    Create a New WSDL Resource page
    Description of "Figure 7-67 Create a New WSDL Resource Page"

  7. Enter a name for the inbound WSDL in the Resource Name field.

    You can also provide a brief description for the resource (optional).

  8. Using the Browse option in the WSDL field, navigate to the location of the inbound WSDL file (.wsdl) on your file system.

  9. Click Save.

    The inbound WSDL is added to the OSB console, as shown in Figure 7-68.

  10. In the right pane, select JCA Binding from the Create Resource menu, as shown in Figure 7-69.

    Figure 7-69 Create Resource Menu JCA Binding Option

    JCA Binding option
    Description of "Figure 7-69 Create Resource Menu JCA Binding Option"

    The Create a New JCA Binding Resource page is displayed, as shown in Figure 7-70.

    Figure 7-70 Create a New JCA Binding Resource Page

    Create a New JCA Binding Resource page
    Description of "Figure 7-70 Create a New JCA Binding Resource Page"

  11. Enter a name for the inbound JCA binding in the Resource Name field.

    You can also provide a brief description for the resource (optional).

  12. Using the Browse option in the JCA File field, navigate to the location of the inbound JCA binding file (.jca) on your file system.

  13. Click Save.

    The inbound JCA binding is added to the OSB console, as shown in Figure 7-71.

  14. Click the icon that corresponds to the exported WSDL in the Actions column, as shown in Figure 7-72.

    The Generate WSDL and Service page is displayed.

  15. Provide a new WSDL name and a new service name in the corresponding fields, as shown in Figure 7-73.

    Figure 7-73 Generate WSDL and Service Page

    Generate WSDL and Service page
    Description of "Figure 7-73 Generate WSDL and Service Page"

  16. In the Location area, select an available project and the sub-folder that is designated for Proxy Services.

  17. Click Generate.

    If the WSDL and Service resources are successfully created, then the following message is displayed, as shown in Figure 7-74.

    Figure 7-74 Success Message

    success message
    Description of "Figure 7-74 Success Message"

  18. Select the Proxy Service folder you created in the left pane and verify that the Proxy Service is successfully generated and listed, as shown in Figure 7-75.

    Figure 7-75 Project Explorer

    verify proxy service
    Description of "Figure 7-75 Project Explorer"

Configuring a File Type Business Service

Perform the following steps to configure a File type Business Service:

  1. Select the Business Service folder you created in the left pane, as shown in Figure 7-76.

    Figure 7-76 Project Explorer

    Select Business Service
    Description of "Figure 7-76 Project Explorer"

  2. In the right pane, select Business Service from the Create Resource menu, as shown in Figure 7-77.

    Figure 7-77 Create Resource Menu

    select Business Service
    Description of "Figure 7-77 Create Resource Menu"

    The General Configuration page is displayed, as shown in Figure 7-78.

    Figure 7-78 General Configuration Page

    General Configuration page
    Description of "Figure 7-78 General Configuration Page"

  3. Provide a name for the Business Service and from the Service Type area select Messaging Service.

  4. Click Next.

    The Message Type Configuration page is displayed, as shown in Figure 7-79.

    Figure 7-79 Message Type Configuration page

    Message Type Configuration page
    Description of "Figure 7-79 Message Type Configuration page"

  5. Select XML as the Request Message Type and None as the Response Message Type.

  6. Click Next.

    The Transport Configuration page is displayed, as shown in Figure 7-80.

    Figure 7-80 Transport Configuration Page

    Transport Configuration page
    Description of "Figure 7-80 Transport Configuration Page"

  7. Select file from the Protocol list.

  8. Enter the path to a destination folder on your file system in the Endpoint URI field and click Add.

  9. Click Next.

    The FILE Transport Configuration page is displayed, as shown in Figure 7-81.

    Figure 7-81 FILE Transport Configuration Page

    FILE Transport Configuration page
    Description of "Figure 7-81 FILE Transport Configuration Page"

  10. Enter the prefix and suffix for the output file to be received and click Next.

    The Message Handling and Advanced Settings page is displayed, as shown in Figure 7-82.

    Figure 7-82 Message Handling and Advanced Settings Page

    Message Handling page
    Description of "Figure 7-82 Message Handling and Advanced Settings Page"

  11. Click Next.

    The following Summary page is displayed, as shown in Figure 7-83.

  12. Review all the information for your Business Service and click Save.

  13. Check if the success message is displayed and click Activate in the Change Center, as shown in Figure 7-84.

    Figure 7-84 Change Center Activate Button

    Activate button
    Description of "Figure 7-84 Change Center Activate Button"

    The Activate Session page is displayed, as shown in Figure 7-85.

    Figure 7-85 Activate Session Page

    Activate Session page
    Description of "Figure 7-85 Activate Session Page"

  14. Click Submit.

  15. Check if the View Configuration Changes page is displayed.

    Figure 7-86 View Configuration Changes Page

    View Configuration Changes page
    Description of "Figure 7-86 View Configuration Changes Page"

Configuring a Pipeline

Perform the following steps to configure a Pipeline:

  1. Click the Edit Message Flow icon in the row of the Proxy Service you created, as shown in Figure 7-87.

    Figure 7-87 Edit Message Flow Icon

    Edit Message Flow Icon
    Description of "Figure 7-87 Edit Message Flow Icon"

    The Edit Message Flow workspace area is displayed, as shown in Figure 7-88.

    Figure 7-88 Edit Message Flow Workspace Area

    Edit Message Flow workspace
    Description of "Figure 7-88 Edit Message Flow Workspace Area"

  2. Click the displayed Proxy service icon and select Add Route from the menu.

    The RouteNode1 icon is added below the Request Pipeline icon, as shown in Figure 7-89.

    Figure 7-89 Edit Message Flow Edit Route Option

    Edit Stage
    Description of "Figure 7-89 Edit Message Flow Edit Route Option"

  3. Click the RouteNode1 icon and select Edit Route from the menu.

    The Edit Stage Configuration workspace area is displayed, as shown in Figure 7-90.

    Figure 7-90 Edit Stage Configuration Routing Option

    select Routing
    Description of "Figure 7-90 Edit Stage Configuration Routing Option"

  4. Click Add an Action, select Communication from the menu, and click Routing, as shown in Figure 7-91.

    Figure 7-91 Edit Stage Configuration Page

    Edit Expression
    Description of "Figure 7-91 Edit Stage Configuration Page"

  5. Click <Service>.

    The Select Service dialog is displayed, as shown in Figure 7-92.

    Figure 7-92 Select Service Dialog

    Select Service dialog
    Description of "Figure 7-92 Select Service Dialog"

  6. Select a WSDL type Business Service and click Submit.

    You are returned to the Edit Stage Configuration workspace area, as shown in Figure 7-93.

    Figure 7-93 Edit Stage Configuration Workspace Area

    Edit Stage Configuration
    Description of "Figure 7-93 Edit Stage Configuration Workspace Area"

  7. Click Save.

    You are returned to the Edit Message Flow workspace area, as shown in Figure 7-94.

    Figure 7-94 Edit Message Flow Workspace Area

    Edit Message Flow
    Description of "Figure 7-94 Edit Message Flow Workspace Area"

  8. Click Save, as shown in Figure 7-95.

    Figure 7-95 Success Message

    Activate button
    Description of "Figure 7-95 Success Message"

  9. Check if the success message is displayed and click Activate in the Change Center.

    The Activate Session page is displayed as shown in Figure 7-96.

    Figure 7-96 Activate Session Page

    Activate Session page
    Description of "Figure 7-96 Activate Session Page"

  10. Click Submit.

  11. Check if the View Configuration Changes page is displayed, as shown in Figure 7-97.

    Figure 7-97 View Configuration Changes Page

    View Configuration Changes page
    Description of "Figure 7-97 View Configuration Changes Page"

  12. Trigger an event from the J.D. Edwards OneWorld system and check if the output is received in the configured output location.

Configuring Outbound Processing Using Oracle Service Bus (BSE Configuration)

This section describes how to configure outbound processing using Oracle Service Bus for BSE configurations.

This section includes the following topics:

Starting Oracle Service Bus and Creating Project Folders

Perform the following steps to start Oracle Service Bus and create project folders:

  1. Start the Oracle WebLogic Server for the Oracle WebLogic Server domain that you have configured.

  2. Open the Oracle Service Bus Console in a Web browser by entering the following URL:

    http://hostname:port/sbconsole
    

    Where hostname is the name of the machine where Oracle WebLogic Server is running and port is the port for the domain you are using. The port for the default domain is 7001.

    The Oracle Service Bus Console logon page is displayed.

  3. Log on to the Oracle Service Bus Console using a valid user name and password.

    The Oracle Service Bus Console home page is displayed, as shown in Figure 7-98.

    Figure 7-98 Oracle Service Bus Console Home Page

    OSB home
    Description of "Figure 7-98 Oracle Service Bus Console Home Page"

  4. Click Create in the Change Center area to start a new Oracle Service Bus session, as shown in Figure 7-99.

    Figure 7-99 Change Center Create Button

    Change Center
    Description of "Figure 7-99 Change Center Create Button"

  5. Click Project Explorer in the left pane, as shown in Figure 7-100.

    Figure 7-100 Project Explorer

    Project Explorer option
    Description of "Figure 7-100 Project Explorer"

    The Project Explorer page is displayed, as shown in Figure 7-101.

    Figure 7-101 Project Explorer Page

    Project Explorer
    Description of "Figure 7-101 Project Explorer Page"

  6. Provide a valid name for the new project (for example, JDE_Project) and click Add Project.

    The project is successfully created and listed.

  7. Click on the created project.

    The project page is displayed, as shown in Figure 7-102.

    Figure 7-102 New Folder Name Field

    Project page
    Description of "Figure 7-102 New Folder Name Field"

  8. In the Enter New Folder Name field, type Business Service and click Add Folder.

  9. In the Enter New Folder Name field, type Proxy Service and click Add Folder.

  10. In the Enter New Folder Name field, type wsdls and click Add Folder.

    The Business Service, Proxy Service, and wsdls folders are listed in the left pane below the project node, as shown in Figure 7-103.

    Figure 7-103 Project Explorer

    project folders
    Description of "Figure 7-103 Project Explorer"

Setting the Class Path for Application Explorer to Integrate With Oracle Service Bus

Before starting and using Application Explorer to publish a WSDL directly to the Oracle Service Bus (OSB) Console (project/folder), OSB users must perform the following steps:

  1. Open the command prompt window.

  2. Navigate to the following directory:

    <OSB_Home>\user_projects\domains\base_domain\bin
    
  3. Execute setDomainEnv.cmd (Windows) or . ./setDomainEnv.sh (UNIX/Linux).

    This command sets the class path for Application Explorer to access the Oracle WebLogic Server APIs to publish the WSDLs to the OSB Console.

  4. Do not close the command prompt window.

  5. Navigate to the following directory:

    <OSB_Home>\3rdparty\ApplicationAdapters\tools\iwae\bin
    
  6. Execute ae.bat (Windows) or iwae.sh (UNIX/Linux) to start Application Explorer.

    You are now ready to publish WSDLs from Application Explorer to the OSB Console.

Publishing a WSDL From Application Explorer to Oracle Service Bus

This section describes how to publish a WSDL from Application Explorer (BSE configuration) to Oracle Service Bus.

  1. Start Application Explorer, connect to a BSE configuration, and connect to a J.D. Edwards target, as shown in Figure 7-104.

    Figure 7-104 Application Explorer Create Web Service Option

    browse metadata
    Description of "Figure 7-104 Application Explorer Create Web Service Option"

  2. Expand the Services node, followed by CALLBSFN and Addressbook.

  3. Right-click the GetEffectiveAddress business object and select Create Web Service from the menu.

    The Create Web Service dialog is displayed, as shown in Figure 7-105.

    Figure 7-105 Create Web Service Dialog

    Create Web Service dialog
    Description of "Figure 7-105 Create Web Service Dialog"

  4. Enter a service name and click Next.

  5. Click OK on the next dialog that is displayed.

    Application Explorer switches the view to the Business Services node, and the new Web service appears in the left pane, as shown in Figure 7-106.

    Figure 7-106 Application Explorer Export WSDL Option

    New Web Service
    Description of "Figure 7-106 Application Explorer Export WSDL Option"

  6. Right-click the new Web service and select Export WSDL from the menu.

    The Export WSDL dialog is displayed, as shown in Figure 7-107.

    Figure 7-107 Export WSDL Dialog

    Export WSDL dialog
    Description of "Figure 7-107 Export WSDL Dialog"

  7. In the Name field, a default file name for the WSDL file is provided. You can accept the default or provide your own.

  8. In the Location field, enter the location where you want to publish the WSDL document.

    The location is composed of an Oracle Service Bus project name and optionally, one or more folder names. The project name and any folder names must be separated by a forward slash character “/”.

  9. In the Host field, enter the name of the machine where Oracle WebLogic Server is running.

  10. In the Port field, enter the port for the domain you are using.

  11. In the User field, enter your username to access Oracle Service Bus.

  12. In the Password field, enter your password to access Oracle Service Bus.

  13. Click OK.

    The WSDL is published to the location specified in the Export WSDL dialog and is now available for use with a Business Service or Proxy Service in Oracle Service Bus.

Configuring a File Type Business Service

This section describes how to configure a File type Business Service using the Oracle Service Bus Console.

  1. Select the Business Service folder you created in the left pane, as shown in Figure 7-108.

    Figure 7-108 Create Resource Menu

    Select Business Service
    Description of "Figure 7-108 Create Resource Menu"

  2. In the right pane, select Business Service from the Create Resource menu.

    The General Configuration page is displayed, as shown in Figure 7-109.

    Figure 7-109 General Configuration Page

    General Configuration
    Description of "Figure 7-109 General Configuration Page"

  3. Provide a name for the Business Service and from the Service Type area select Messaging Service.

  4. Click Next.

    The Message Type Configuration page is displayed, as shown in Figure 7-110.

    Figure 7-110 Message Type Configuration Page

    Message Type Configuration
    Description of "Figure 7-110 Message Type Configuration Page"

  5. Select XML as the Request Message Type and None as the Response Message Type.

  6. Click Next.

    The Transport Configuration page is displayed, as shown in Figure 7-111.

    Figure 7-111 Transport Configuration Page

    Transport Configuration
    Description of "Figure 7-111 Transport Configuration Page"

  7. Select file from the Protocol list.

  8. Enter the path to a destination folder on your file system in the Endpoint URI field and click Add.

  9. Click Next.

    The FILE Transport Configuration page is displayed, as shown in Figure 7-112.

    Figure 7-112 FILE Transport Configuration Page

    FILE Transport Configuration
    Description of "Figure 7-112 FILE Transport Configuration Page"

  10. Enter the prefix and suffix for the output file to be received and click Next.

    The Summary page is displayed, as shown in Figure 7-113.

    Figure 7-113 Summary Page

    Summary
    Description of "Figure 7-113 Summary Page"

  11. Review all the information for your Business Service and click Save.

Configuring a WSDL Type Business Service

This section describes how to configure a WSDL type Business Service using the Oracle Service Bus Console.

  1. Select the Business Service folder you created in the left pane, as shown in Figure 7-114.

    Figure 7-114 Create Resource Menu

    Select Business Service
    Description of "Figure 7-114 Create Resource Menu"

  2. In the right pane, select Business Service from the Create Resource menu.

    The General Configuration page is displayed, as shown in Figure 7-115.

    Figure 7-115 General Configuration Page

    General Configuration
    Description of "Figure 7-115 General Configuration Page"

  3. Provide a name for the Business Service and from the Service Type area select WSDL Web Service.

  4. Click Browse.

    The Select a WSDL dialog is displayed, as shown in Figure 7-116.

    Figure 7-116 Select a WSDL Dialog

    Select a WSDL dialog
    Description of "Figure 7-116 Select a WSDL Dialog"

  5. Select a BSE WSDL that you published for Oracle Application Adapter for J.D. Edwards OneWorld using Application Explorer and click Submit.

    The Select a WSDL Definition dialog is displayed, as shown in Figure 7-117.

    Figure 7-117 Select a WSDL Definition Dialog

    Select WSDL dialog box
    Description of "Figure 7-117 Select a WSDL Definition Dialog"

  6. Select the WSDL definition under the Ports section and click Submit.

    You are returned to the General Configuration page where the WSDL you selected is now available.

  7. Click Next.

    The Transport Configuration page is displayed, as shown in Figure 7-118.

    Figure 7-118 Transport Configuration Page

    Transport Configuration
    Description of "Figure 7-118 Transport Configuration Page"

  8. Leave the default values and click Next.

    The HTTP Transport Configuration page is displayed, as shown in Figure 7-119.

    Figure 7-119 HTTP Transport Configuration Page

    HTTP Transport Configuration
    Description of "Figure 7-119 HTTP Transport Configuration Page"

  9. Leave the default values and click Next.

    The SOAP Binding Configuration page is displayed, as shown in Figure 7-120.

    Figure 7-120 SOAP Binding Configuration Page

    SOAP Binding Configuration
    Description of "Figure 7-120 SOAP Binding Configuration Page"

  10. Click Next.

    The Message Content Handling page is displayed, as shown in Figure 7-121.

    Figure 7-121 Message Content Handling Page

    Message Content Heading
    Description of "Figure 7-121 Message Content Handling Page"

  11. Click Next.

    The Summary page is displayed, as shown in Figure 7-122.

    Figure 7-122 Summary Page

    Summary
    Description of "Figure 7-122 Summary Page"

  12. Review all the information for your Business Service and click Save.

Configuring a Proxy Service

This section describes how to configure a Proxy Service using the Oracle Service Bus Console.

  1. Select the Proxy Service folder you created in the left pane, as shown in Figure 7-123.

    Figure 7-123 Create Resource Menu

    Select Proxy Service
    Description of "Figure 7-123 Create Resource Menu"

  2. In the right pane, select Proxy Service from the Create Resource menu.

    The General Configuration page is displayed, as shown in Figure 7-124.

    Figure 7-124 General Configuration Page

    General Configuration
    Description of "Figure 7-124 General Configuration Page"

  3. Provide a name for the Proxy Service and from the Service Type area select Any XML Service.

  4. Click Next.

    The Transport Configuration page is displayed, as shown in Figure 7-125.

    Figure 7-125 Transport Configuration Page

    Transport Configuration
    Description of "Figure 7-125 Transport Configuration Page"

  5. Select file from the Protocol list.

  6. Enter the path to an input folder on your file system in the Endpoint URI field.

  7. Click Next.

    The FILE Transport Configuration page is displayed, as shown in Figure 7-126.

    Figure 7-126 FILE Transport Configuration Page

    File Transport Configuration
    Description of "Figure 7-126 FILE Transport Configuration Page"

  8. Provide any folder locations on your file system for the Stage Directory and Error Directory fields.

  9. Click Next.

    The Message Content Handling page is displayed, as shown in Figure 7-127.

    Figure 7-127 Message Content Handling Page

    Message Content Heading
    Description of "Figure 7-127 Message Content Handling Page"

  10. Click Next.

    The Summary page is displayed, as shown in Figure 7-128.

    Figure 7-128 Summary Page

    Summary
    Description of "Figure 7-128 Summary Page"

  11. Review all the information for your Proxy Service and click Save.

Configuring a Pipeline

This section describes how to configure a Pipeline using the Oracle Service Bus Console.

  1. Click the Edit Message Flow icon in the row of the Proxy Service you created, as shown in Figure 7-129.

    Figure 7-129 Edit Message Flow Icon

    Edit Message Flow Icon
    Description of "Figure 7-129 Edit Message Flow Icon"

    The Edit Message Flow workspace area is displayed.

  2. Click the Proxy Service icon and select Add Pipeline Pair from the menu, as shown in the following image, as shown in Figure 7-130.

    Figure 7-130 Add Pipeline Pair Option

    Add Pipeline Pair
    Description of "Figure 7-130 Add Pipeline Pair Option"

  3. Click the Request Pipeline icon and select Add Stage from the menu, as shown in Figure 7-131.

    Figure 7-131 Add Stage Option

    Add Stage
    Description of "Figure 7-131 Add Stage Option"

    The Stage1 icon is added below the Request Pipeline icon, as shown in Figure 7-132.

    Figure 7-132 Edit Stage Option

    Edit Stage
    Description of "Figure 7-132 Edit Stage Option"

  4. Click the Stage1 icon and select Edit Stage from the menu.

    The Edit Stage Configuration workspace area is displayed, as shown in Figure 7-133.

    Figure 7-133 Edit Stage Configuration Workspace Area

    Add Log
    Description of "Figure 7-133 Edit Stage Configuration Workspace Area"

  5. Click Add an Action, select Reporting from the menu, and click Log, as shown in Figure 7-134.

    Figure 7-134 Edit Stage Configuration Workspace Area

    Edit Expression
    Description of "Figure 7-134 Edit Stage Configuration Workspace Area"

  6. Click <Expression> to edit the expression.

    The XQuery/XSLT Expression Editor is displayed, as shown in Figure 7-135.

    Figure 7-135 XQuery/XSLT Expression Editor

    XQuery/XSLT Expression Editor
    Description of "Figure 7-135 XQuery/XSLT Expression Editor"

  7. In the XQuery Text area, type $inbound.

  8. Click Validate and then Save.

    You are returned to the Edit Stage Configuration workspace area, as shown in Figure 7-136.

    Figure 7-136 Edit Stage Configuration Workspace Area

    Edit Stage Configuration
    Description of "Figure 7-136 Edit Stage Configuration Workspace Area"

  9. Type any annotation/comments in the text box (for example, **********input processing***********).

  10. Select Error from the severity level list.

  11. Add one more Log action as shown in the following image, as shown in Figure 7-137.

    Figure 7-137 Edit Stage Configuration Workspace Area

    Add Log
    Description of "Figure 7-137 Edit Stage Configuration Workspace Area"

    A new Log configuration is added, as shown in the following image, as shown in Figure 7-138.

    Figure 7-138 Edit Stage Configuration Workspace Area

    Edit Expression
    Description of "Figure 7-138 Edit Stage Configuration Workspace Area"

  12. Click <Expression> to edit the expression.

    The XQuery/XSLT Expression Editor is displayed, as shown in Figure 7-139.

    Figure 7-139 XQuery/XSLT Expression Editor

    XQuery/XSLT Expression Editor
    Description of "Figure 7-139 XQuery/XSLT Expression Editor"

  13. In the XQuery Text area, type $body.

  14. Click Validate and then Save.

    You are returned to the Edit Stage Configuration workspace area, as shown in Figure 7-140.

    Figure 7-140 Edit Stage Configuration Workspace Area

    Edit Stage Configuration
    Description of "Figure 7-140 Edit Stage Configuration Workspace Area"

  15. Type any annotation/comments in the text box (for example, **********Request Body***********).

  16. Select Error from the severity level list.

  17. Click Validate and then Save, as shown in Figure 7-141.

    Figure 7-141 Add Route Option

    Add Route
    Description of "Figure 7-141 Add Route Option"

  18. Click the PipelinePairNode1 icon and select Add Route from the menu, as shown in Figure 7-142.

    Figure 7-142 Edit Route Option

    Edit Route
    Description of "Figure 7-142 Edit Route Option"

  19. Click the RouteNode1 icon and select Edit Route from the menu, as shown in Figure 7-143.

    Figure 7-143 Edit Stage Configuration Routing Option

    Add Routing
    Description of "Figure 7-143 Edit Stage Configuration Routing Option"

  20. Click Add an Action, select Communication from the menu, and click Routing, as shown in Figure 7-144.

    Figure 7-144 Edit Stage Configuration Workspace Area

    Add Service
    Description of "Figure 7-144 Edit Stage Configuration Workspace Area"

  21. Click <Service>.

    The Select Service dialog is displayed, as shown in Figure 7-145.

    Figure 7-145 Select Service Dialog

    Select Service dialog
    Description of "Figure 7-145 Select Service Dialog"

  22. Select a WSDL type Business Service and click Submit.

    You are returned to the Edit Stage Configuration workspace area, as shown in Figure 7-146.

    Figure 7-146 Edit Stage Configuration Workspace Area

    Edit Stage Configuration
    Description of "Figure 7-146 Edit Stage Configuration Workspace Area"

  23. Select GetEffectiveAddress as the operational attribute from the list.

  24. Click Validate and then Save, as shown in Figure 7-147.

    Figure 7-147 Edit Stage Configuration Workspace Area

    Add Log
    Description of "Figure 7-147 Edit Stage Configuration Workspace Area"

  25. In the Response Actions area, click Add an Action, select Reporting from the menu, and click Log.

  26. Click <Expression> to edit the expression.

    The XQuery/XSLT Expression Editor is displayed, as shown in Figure 7-148.

    Figure 7-148 XQuery/XSLT Expression Editor

    XQuery/XSLT Expression Editor
    Description of "Figure 7-148 XQuery/XSLT Expression Editor"

  27. In the XQuery Text area, type $outbound.

  28. Click Validate and then Save.

    You are returned to the Edit Stage Configuration workspace area, as shown in Figure 7-149.

    Figure 7-149 Edit Stage Configuration Workspace Area

    Edit Stage Configuration
    Description of "Figure 7-149 Edit Stage Configuration Workspace Area"

  29. Type any annotation/comments in the text box (for example, **********output processing***********).

  30. Select Error from the severity level list.

  31. Click Validate and then Save, as shown in Figure 7-150.

    Figure 7-150 Add Stage Option

    Add Stage
    Description of "Figure 7-150 Add Stage Option"

  32. Click the Response Pipeline icon and select Add Stage from the menu.

    The Stage1 icon is added below the Response Pipeline icon, as shown in Figure 7-151.

    Figure 7-151 Edit Stage Option

    Edit Stage
    Description of "Figure 7-151 Edit Stage Option"

  33. Click the Stage1 icon and select Edit Stage from the menu.

    The Edit Stage Configuration workspace area is displayed, as shown in Figure 7-152.

    Figure 7-152 Edit Stage Configuration Workspace Area

    Select Publish
    Description of "Figure 7-152 Edit Stage Configuration Workspace Area"

  34. Click Add an Action, select Communication from the menu, and click Publish, as shown in Figure 7-153.

    Figure 7-153 Edit Stage Configuration Workspace Area

    Add Service
    Description of "Figure 7-153 Edit Stage Configuration Workspace Area"

  35. Click <Service>.

    The Select Service dialog is displayed, as shown in Figure 7-154.

    Figure 7-154 Select Service Dialog

    Select Service dialog
    Description of "Figure 7-154 Select Service Dialog"

  36. Select a File type Business Service and click Submit.

    You are returned to the Edit Stage Configuration workspace area, as shown in Figure 7-155.

    Figure 7-155 Edit Stage Configuration Workspace Area

    Add Log
    Description of "Figure 7-155 Edit Stage Configuration Workspace Area"

  37. In the Request Actions area, click Add an Action, select Reporting from the menu, and click Log, as shown in Figure 7-156.

    Figure 7-156 Edit Stage Configuration Workspace Area

    Edit Expression
    Description of "Figure 7-156 Edit Stage Configuration Workspace Area"

  38. Click <Expression> to edit the expression.

    The XQuery/XSLT Expression Editor is displayed, as shown in Figure 7-157.

    Figure 7-157 XQuery/XSLT Expression Editor

    XQuery/XSLT Expression Editor
    Description of "Figure 7-157 XQuery/XSLT Expression Editor"

  39. In the XQuery Text area, type $body.

  40. Click Validate and then Save.

    You are returned to the Edit Stage Configuration workspace area, as shown in Figure 7-158.

    Figure 7-158 Edit Stage Configuration Workspace Area

    Edit Stage Configuration
    Description of "Figure 7-158 Edit Stage Configuration Workspace Area"

  41. Type any annotation/comments in the text box (for example, **********Response Body***********).

  42. Select Error from the severity level list.

  43. Click Validate and then Save.

    The completed Pipeline is displayed, as shown in Figure 7-159.

    Figure 7-159 Completed Pipeline

    Completed Message Flow
    Description of "Figure 7-159 Completed Pipeline"

  44. Click Save.

  45. Click Activate in the Change Center area to activate your changes in the Oracle Service Bus session, as shown in Figure 7-160.

    Figure 7-160 Change Center Activate Button

    Change Center
    Description of "Figure 7-160 Change Center Activate Button"

  46. Copy and paste an input XML file in the input folder you have configured, as shown in Figure 7-161.

    Figure 7-161 Input Folder

    Input File
    Description of "Figure 7-161 Input Folder"

    An output XML file is received in the destination folder, as shown in Figure 7-162.

    Figure 7-162 Output XML Destination Folder

    Output File
    Description of "Figure 7-162 Output XML Destination Folder"