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

Part Number E17056-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

7 Configuring Outbound and Inbound Processing Using Oracle Service Bus

OracleAS Adapter for Siebel 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), OracleAS Adapter for Siebel 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.

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

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 Home Page

    OSB home
    Description of "Figure 7-1 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-2.

    Figure 7-2 Create Button Selected in the Change Center

    Change Center
    Description of "Figure 7-2 Create Button Selected in the Change Center"

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

    Figure 7-3 Project Explorer Option

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

    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, Siebel_Project) and click Add Project.

    The new project is successfully created and listed in the left pane.

  7. Click the new project node in the left pane.

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

    Figure 7-5 The Enter New Folder Name Field

    Project page
    Description of "Figure 7-5 The 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 new Siebel_Project node, as shown in Figure 7-6.

    Figure 7-6 Business Service, Proxy Service, and wsdls Folders Listed Below the Project Node

    project folders
    Description of "Figure 7-6 Business Service, Proxy Service, and wsdls Folders Listed Below the Project Node"

  11. Click Activate in the Change Center.

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

    Figure 7-7 Activate Session Page

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

  12. Click Submit.

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 Siebel target.

    For more information, see Chapter 2, "Configuring Oracle Application Server Adapter for Siebel".

  2. Expand Business Object, Account, and then Account.

  3. Right-click the query method and select Create Outbound JCA Service(Request/Response) from the menu, as shown in Figure 7-8.

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

    browse metadata
    Description of "Figure 7-8 Create Outbound JCA Service(Request/Response) Option"

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

    Figure 7-9 Export WSDL Dialog

    Export WSDL dialog
    Description of "Figure 7-9 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.

Configuring a WSDL-based Business Service

Perform the following steps to configure a WSDL-based Business Service:

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

  2. Ensure that the exported WSDL is listed, as shown in Figure 7-11.

    Figure 7-11 The Exported WSDL Listed

    exported WSDL
    Description of "Figure 7-11 The Exported WSDL Listed"

  3. 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-12.

    Figure 7-12 Generate WSDL and Service Page

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

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

    Figure 7-13 Generate WSDL and Service Page

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

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

  6. Click Generate.

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

    Figure 7-14 WSDL and Service Resources Generated Successfully Message

    success message
    Description of "Figure 7-14 WSDL and Service Resources Generated Successfully Message"

Configuring a File Type Business Service

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

  1. As shown in Figure 7-15, select the Business Service folder you created in the left pane.

    Figure 7-15 Business Service Folder Selected in the Project Explorer

    Select Business Service
    Description of "Figure 7-15 Business Service Folder Selected in the Project Explorer"

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

    Figure 7-16 Business Service Selected from the Create Resource Menu

    Select Business Service
    Description of "Figure 7-16 Business Service Selected from the Create Resource Menu"

    As shown in Figure 7-17, the General Configuration page is displayed.

    Figure 7-17 General Configuration Page

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

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

  4. Click Next.

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

    Figure 7-18 Message Type Configuration Page

    Message Type Configuration page
    Description of "Figure 7-18 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-19.

    Figure 7-19 Transport Configuration Page

    Transport Configuration page
    Description of "Figure 7-19 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-20.

    Figure 7-20 Next Button in the Transport Configuration Page

    Transport Configuration page
    Description of "Figure 7-20 Next Button in the Transport Configuration Page"

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

    Figure 7-21 FILE Transport Configuration Page

    FILE Transport Configuration page
    Description of "Figure 7-21 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-22.

    Figure 7-22 Message Handling and Advanced Settings Page

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

  11. Click Next.

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

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

Configuring a Proxy Service

Perform the following steps to configure a Proxy Service:

  1. As shown in Figure 7-24, select the Proxy Service folder you created in the left pane.

    Figure 7-24 Proxy Service Selected from the Create Resource Menu

    Select Proxy Service
    Description of "Figure 7-24 Proxy Service Selected from the 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-25.

    Figure 7-25 General Configuration Page

    General Configuration
    Description of "Figure 7-25 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-26.

    Figure 7-26 Next Button in the Transport Configuration Page

    Transport Configuration page
    Description of "Figure 7-26 Next Button in the 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-27.

    Figure 7-27 FILE Transport Configuration Page

    File Transport Configuration page
    Description of "Figure 7-27 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-28.

    Figure 7-28 Message Handling Page

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

  10. Accept the default values and click Next.

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

  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-30.

    Figure 7-30 Proxy Service Created Successfully Message

    success message
    Description of "Figure 7-30 Proxy Service Created Successfully Message"

Configuring a Pipeline

Perform the following steps to configure a Pipeline:

  1. As shown in Figure 7-31, click the Edit Message Flow icon in the row of the Proxy Service you created.

    Figure 7-31 Edit Message Flow Icon

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

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

    Figure 7-32 Edit Message Flow Workspace Area

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

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

    Figure 7-33 Add Pipeline Pair Option

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

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

    Figure 7-34 Add Route Option

    Add Stage
    Description of "Figure 7-34 Add Route Option"

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

    Figure 7-35 Edit Route Option

    Edit Stage
    Description of "Figure 7-35 Edit Route Option"

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

    As shown in Figure 7-36, the Edit Stage Configuration workspace area is displayed.

    Figure 7-36 Edit Stage Configuration Workspace Area

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

  5. As shown in Figure 7-37, click Add an Action, select Communication from the menu, and click Routing.

    Figure 7-37 Edit Stage Configuration Workspace Area

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

  6. Click <Service>.

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

    Figure 7-38 Select Service Dialog

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

  7. Select the WSDL type Business Service configured for Siebel and click Submit.

    As shown in Figure 7-39, you are returned to the Edit Stage Configuration workspace area.

    Figure 7-39 Edit Stage Configuration Workspace Area

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

  8. Select the name of the Siebel business object (for example, Query) as the operational attribute from the list, as shown in Figure 7-40.

    Figure 7-40 Business Object Selected as the Operational Attribute

    Edit Stage Configuration
    Description of "Figure 7-40 Business Object Selected as the Operational Attribute"

  9. Click Save.

    Figure 7-41 Add Stage Option

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

  10. As shown in Figure 7-41, 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-42.

    Figure 7-42 Edit Stage Option

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

  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-43.

    Figure 7-43 Edit Stage Configuration Workspace Area

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

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

    Figure 7-44 Edit Stage Configuration Workspace Area

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

  13. Click <Service>.

    As shown in Figure 7-45, the Select Service dialog is displayed.

    Figure 7-45 Select Service Dialog

    Select Service dialog
    Description of "Figure 7-45 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-46.

    Figure 7-46 Edit Stage Configuration Workspace Area

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

  15. Click Save.

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

    Figure 7-47 Edit Message Flow Workspace Area

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

  16. Click Save.

    Figure 7-48 Message Flow Created Successfully Message

    success message
    Description of "Figure 7-48 Message Flow Created Successfully Message"

  17. As shown in Figure 7-48, 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-49.

    Figure 7-49 Activate Session Page

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

  18. Click Submit.

  19. As shown in Figure 7-50, check if the View Configuration Changes page is displayed.

    Figure 7-50 View Configuration Changes Page

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

  20. As shown in Figure 7-51, copy and paste an input XML file in the input folder you have configured.

    Figure 7-51 An Input XML File in the Configured Folder

    Input XML document
    Description of "Figure 7-51 An Input XML File in the Configured Folder"

  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.

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

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-52.

    Figure 7-52 Oracle Service Bus Console Home Page

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

  4. As shown in Figure 7-53, click Create in the Change Center area to start a new Oracle Service Bus session.

    Figure 7-53 Create Button in Change Center

    Change Center
    Description of "Figure 7-53 Create Button in Change Center"

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

    Figure 7-54 Project Explorer Option

    Project Explorer option
    Description of "Figure 7-54 Project Explorer Option"

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

    Figure 7-55 Project Explorer Page

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

  6. Provide a valid name for the new 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-56.

    Figure 7-56 Enter New Folder Name Field in Project Page

    Project page
    Description of "Figure 7-56 Enter New Folder Name Field in Project Page"

  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-57.

    Figure 7-57 Business Service, Proxy Service, and wsdls Folders Listed in Project Explorer

    project folders
    Description of "Figure 7-57 Business Service, Proxy Service, and wsdls Folders Listed in 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 to Oracle Service Bus.

Creating a Channel

Before publishing a WSDL, you must first create a separate channel for every inbound J2CA service and select that channel when you generate WSDL for inbound interaction using Application Explorer.

To create a channel:

  1. In the left pane, click Events.

  2. Expand the Siebel node.

    The ports and channels nodes appear in the left pane.

    Figure 7-58 Add Channel Option

    Application Explorer context menu
    Description of "Figure 7-58 Add Channel Option"

  3. Right-click Channels and select Add Channel, as shown in Figure 7-58.

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

    Figure 7-59 Add Channel Dialog

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

    Perform the following steps:

    1. Enter a name for the channel, for example, SiebelEvent.

    2. Enter a brief description.

    3. From the Protocol list, select HTTP Listener, MQ Series Listener, or File Listener.

    For demonstration purposes, this procedure uses the HTTP Listener as an example.

  4. Click Next.

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

  5. Enter the system information as specified in the following table:

    Parameter Description
    Listener port Port on which to listen for Siebel event data.
    Https For a secure HTTP connection, select the Https check box.

    This option is currently not supported.

    Synchronization Type Select REQUEST_RESPONSE from the list, which is the recommended option.
    Encoding Type Choose an encoding type to be used from the list. By default, ASCII is selected.

  6. As shown in Figure 7-61, click the PreParser tab.

    Figure 7-61 PreParser Tab

    PreParser tab
    Description of "Figure 7-61 PreParser Tab"

  7. Specify the location of the schema file that was generated for the Integration Object node using the Export Schema(s) option in Application Explorer.

    Note:

    During run time, the Oracle Application Adapter for Siebel adds the namespace to the Siebel published document using the schema that is specified in the PreParser tab. If the Schema location field in the PreParser tab is left blank, then OSB processes do not work properly as the Siebel published documents do not contain any namespaces.
  8. Click OK.

    The channel appears under the channels node in the left pane. An X over the icon indicates that the channel is currently disconnected, as shown in Figure 7-62.

    Figure 7-62 Disconnected Channel

    Added new channel
    Description of "Figure 7-62 Disconnected Channel"

    You must now create an Integration Object node.

Creating an Integration Object Node

  1. Start Application Explorer.

  2. Expand the Adapters node, as shown in Figure 7-63.

    Figure 7-63 Disconnected Siebel Target Node

    Disconnected Siebel node
    Description of "Figure 7-63 Disconnected Siebel Target Node"

    Perform the following steps:

    1. Expand the Siebel node.

      The defined Siebel targets are displayed under the adapter node.

    2. Click the target name, for example, siebel, under the Siebel node.

    The Connection dialog displays the values you entered.

  3. Verify your connection parameters.

  4. Right-click the target name and select Connect.

    The x icon disappears, indicating that the node is connected, as shown inFigure 7-64.

    Figure 7-64 Connected Siebel Node

    select Siebel node
    Description of "Figure 7-64 Connected Siebel Node "

  5. Expand the Integration Object node and select Sample Account.

  6. Right-click the Sample Account node and select Add IO Node.

    The Add IO Node dialog is displayed, as shown in Figure 7-65.

    Figure 7-65 Add IO Node Dialog

    Add IO Node dialog box
    Description of "Figure 7-65 Add IO Node Dialog"

  7. Enter a node name (for example, Sample_Account) in the Node name field and a path to the Sample Account XSD file in the Schema location field.

    Please note:

    • For Siebel 7.5 or later: Generate XSD schemas directly from Siebel tools. You use the XSD schemas when you create Web services in Application Explorer. After you generate an XSD schema through Siebel tools, use it to create an IO node and a Web service.

    • For Siebel 7.0: You cannot generate XSD schemas directly from Siebel tools; only XDR schemas can be created. Before you create a Web service, you must first generate an XSD schema from the XDR schema using Application Explorer.

  8. If the XSD schema has already been generated, then select XSD Schema. If you are using Siebel-generated XDR schemas, then do not select the XSD schema option.

  9. Select a protocol (HTTP, FILE, or MQ Series) from the Protocol list.

  10. Click Continue.

    The new Integration Object node is added, as shown inFigure 7-66.

    Figure 7-66 New Integration Object Node

    Sample Account node
    Description of "Figure 7-66 New Integration Object Node"

Generating WSDL for Event Notification

After you create a channel and an associated Integration Object node, you must generate WSDL for the event using Application Explorer.

You must be connected to a Siebel target under the Adapters node in Application Explorer. For detailed information on how to define and connect to a target, see "Establishing a Connection (Target) for Siebel".

After you connect to a Siebel target, generate WSDL for the event as follows:

  1. As shown in Figure 7-67, right-click the Integration Object node (for example, Sample_Account), and then select Create Inbound JCA Service (Event).

    Figure 7-67 Create Inbound JCA Service (Event) Option

    Application Explorer context menu
    Description of "Figure 7-67 Create Inbound JCA Service (Event) Option"

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

    Figure 7-68 Export WSDL Dialog

    Export WSDL dialog box
    Description of "Figure 7-68 Export WSDL Dialog"

    Note:

    The schema validation options (Root, Namespace, Schema) are not applicable for the Oracle Application Adapter for Siebel.
  2. In the Name field, a default file name for the WSDL file is provided. You can accept the default or provide your own.

  3. From the Channel list, select the channel you created for this inbound service.

  4. Select the Export to OSB option.

  5. 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 “/”.

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

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

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

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

  10. Click OK.

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

Configuring a WSDL-based Proxy Service

Perform the following steps to configure a WSDL-based Proxy Service:

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

    Figure 7-69 Created WSDL Folder Selected in the Project Explorer

    WSDL folder
    Description of "Figure 7-69 Created WSDL Folder Selected in the Project Explorer"

  2. Ensure that the exported WSDL is listed, as shown in Figure 7-70.

    Figure 7-70 Exported WSDL

    exported WSDL
    Description of "Figure 7-70 Exported WSDL"

  3. 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-71.

    Figure 7-71 Generate WSDL and Service Page

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

  4. Provide a new WSDL name and a new service name in the corresponding fields.

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

  6. Click Generate.

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

    Figure 7-72 WSDL and Service Resources Successfully Created Message

    success message
    Description of "Figure 7-72 WSDL and Service Resources Successfully Created Message"

  7. Click Proxy Service under Project Explorer and check if the generated WSDL and Proxy Service are listed, as shown in Figure 7-73.

    Figure 7-73 Generated WSDL Listed

    generated WSDL
    Description of "Figure 7-73 Generated WSDL Listed"

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-74.

    Figure 7-74 Business Service Folder Selected in the Project Explorer

    Select Business Service
    Description of "Figure 7-74 Business Service Folder Selected in the Project Explorer"

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

    Figure 7-75 Business Service Selected from the Create Resource Menu

    select Business Service
    Description of "Figure 7-75 Business Service Selected from the Create Resource Menu"

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

    Figure 7-76 General Configuration Page

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

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

  4. Click Next.

    As shown in Figure 7-77, the Message Type Configuration page is displayed.

    Figure 7-77 Message Type Configuration Page

    Message Type Configuration page
    Description of "Figure 7-77 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-78.

    Figure 7-78 Transport Configuration Page

    Transport Configuration page
    Description of "Figure 7-78 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-79.

    Figure 7-79 FILE Transport Configuration Page

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

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

    As shown in Figure 7-80, the Message Handling and Advanced Settings page is displayed.

    Figure 7-80 Message Handling and Advanced Settings Page

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

  11. Click Next.

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

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

Configuring a Pipeline

Perform the following steps to configure a Pipeline:

  1. As shown in Figure 7-82, click the Edit Message Flow icon in the row of the Proxy Service you created.

    Figure 7-82 Edit Message Flow Icon

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

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

    Figure 7-83 Edit Message Flow Workspace Area

    Edit Message Flow workspace
    Description of "Figure 7-83 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.

    Figure 7-84 Edit Route Option

    Edit Stage
    Description of "Figure 7-84 Edit Route Option"

  3. As shown in Figure 7-84, click the RouteNode1 icon and select Edit Route from the menu.

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

    Figure 7-85 Edit Stage Configuration Workspace Area

    select Routing
    Description of "Figure 7-85 Edit Stage Configuration Workspace Area"

  4. Click Add an Action, select Communication from the menu, and click Routing.

    Figure 7-86 Edit Stage Configuration Page

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

  5. As shown in Figure 7-86, click <Service>.

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

    Figure 7-87 Select Service Dialog

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

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

    As shown in Figure 7-88, you are returned to the Edit Stage Configuration workspace area.

    Figure 7-88 Edit Stage Configuration Workspace Area

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

  7. Click Save.

    As shown in Figure 7-89, you are returned to the Edit Message Flow workspace area.

    Figure 7-89 Edit Message Flow Workspace Area

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

  8. Click Save.

    Figure 7-90 Message Flow Updated Successfully Message

    Activate button
    Description of "Figure 7-90 Message Flow Updated Successfully Message"

  9. As shown in Figure 7-90, 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-91.

    Figure 7-91 Activate Session Page

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

  10. Click Submit.

  11. As shown in Figure 7-92, check if the View Configuration Changes page is displayed.

    Figure 7-92 View Configuration Changes Page

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

  12. Trigger an event from the Siebel 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.

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

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-93.

    Figure 7-93 Oracle Service Bus Console Home Page

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

  4. As shown in Figure 7-94, click Create in the Change Center area to start a new Oracle Service Bus session.

    Figure 7-94 Create Button

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

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

    Figure 7-95 Project Explorer Option

    Project Explorer option
    Description of "Figure 7-95 Project Explorer Option"

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

    Figure 7-96 Project Explorer Page

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

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

    The new project is successfully created and listed in the left pane.

  7. Click the new project node in the left pane.

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

  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 new Siebel_Project node, as shown in Figure 7-98.

    Figure 7-98 Business Service, Proxy Service, and wsdls Folders Listed Under Project Explorer

    project folders
    Description of "Figure 7-98 Business Service, Proxy Service, and wsdls Folders Listed Under Project Explorer"

  11. Click Activate in the Change Center.

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

    Figure 7-99 Activate Session Page

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

  12. Click Submit.

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 Siebel target, as shown in Figure 7-100.

    Figure 7-100 Create Web Service Option Selected from the Application Explorer

    browse metadata
    Description of "Figure 7-100 Create Web Service Option Selected from the Application Explorer"

  2. Expand the Business Object node and select the Account object.

  3. Right-click the query method and select Create Web Service from the menu.

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

    Figure 7-101 Create Web Service Dialog

    Create Web Service dialog
    Description of "Figure 7-101 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.

    Figure 7-102 Export WSDL Option

    New Web Service
    Description of "Figure 7-102 Export WSDL Option"

  6. As shown in Figure 7-102, right-click the new Web service and select Export WSDL from the menu.

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

    Figure 7-103 Export WSDL Dialog

    Export WSDL dialog
    Description of "Figure 7-103 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. As shown in Figure 7-104, select the Business Service folder you created in the left pane.

    Figure 7-104 Business Service Option

    Select Business Service
    Description of "Figure 7-104 Business Service Option"

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

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

    Figure 7-105 General Configuration Page

    General Configuration
    Description of "Figure 7-105 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-106.

    Figure 7-106 Message Type Configuration Page

    Message Type Configuration
    Description of "Figure 7-106 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-107.

    Figure 7-107 Transport Configuration Page

    Transport Configuration
    Description of "Figure 7-107 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-108.

    Figure 7-108 FILE Transport Configuration Page

    FILE Transport Configuration
    Description of "Figure 7-108 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-109.

    Figure 7-109 Summary Page

    Summary
    Description of "Figure 7-109 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. As shown in Figure 7-110, select the Business Service folder you created in the left pane.

    Figure 7-110 Business Service Option

    Select Business Service
    Description of "Figure 7-110 Business Service Option"

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

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

    Figure 7-111 General Configuration Page

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

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

  4. Click Browse.

    As shown in Figure 7-112, the Select a WSDL dialog is displayed.

    Figure 7-112 Select a WSDL Dialog

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

  5. Select a BSE WSDL that you published for OracleAS Adapter for Siebel using Application Explorer and click Submit.

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

    Figure 7-113 Select a WSDL Definition Dialog

    Select WSDL dialog box
    Description of "Figure 7-113 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-114.

    Figure 7-114 Transport Configuration Page

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

  8. Leave the default values and click Next.

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

    Figure 7-115 HTTP Transport Configuration Page

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

  9. Leave the default values and click Next.

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

    Figure 7-116 SOAP Binding Configuration Page

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

  10. Click Next.

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

    Figure 7-117 Message Content Handling Page

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

  11. Click Next.

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

    Figure 7-118 Summary Page

    Summary
    Description of "Figure 7-118 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. As shown in Figure 7-119, select the Proxy Service folder you created in the left pane.

    Figure 7-119 Proxy Service Option

    Select Proxy Service
    Description of "Figure 7-119 Proxy Service Option"

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

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

    Figure 7-120 General Configuration Page

    General Configuration
    Description of "Figure 7-120 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-121.

    Figure 7-121 Transport Configuration Page

    Transport Configuration
    Description of "Figure 7-121 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.

    This is the folder where the XML input file will be copied during runtime.

  7. Click Next.

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

    Figure 7-122 FILE Transport Configuration Page

    File Transport Configuration
    Description of "Figure 7-122 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-123.

    Figure 7-123 Message Content Handling Page

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

  10. Click Next.

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

    Figure 7-124 Summary Page

    Summary
    Description of "Figure 7-124 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. As shown in Figure 7-125, click the Edit Message Flow icon in the row of the Proxy Service you created.

    Figure 7-125 Edit Message Flow Icon

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

    The Edit Message Flow workspace area is displayed.

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

    Figure 7-126 Add Pipeline Pair Option

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

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

    Figure 7-127 Edit Route Option

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

  4. As shown in Figure 7-127, click the RouteNode1 icon and select Edit Route from the menu.

    Figure 7-128 Routing Option

    Add Routing
    Description of "Figure 7-128 Routing Option"

  5. As shown in Figure 7-128, click Add an Action, select Communication from the menu, and click Routing.

    Figure 7-129 Edit Stage Configuration Workspace Area

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

  6. As shown in Figure 7-129, click <Service>.

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

    Figure 7-130 Select Service Dialog

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

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

    As shown in Figure 7-131, you are returned to the Edit Stage Configuration workspace area.

    Figure 7-131 Edit Stage Configuration Workspace Area

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

  8. Select query as the operational attribute from the list.

  9. Click Validate and then Save.

    You are returned to the main Pipeline configuration area, as shown in Figure 7-132.

    Figure 7-132 Pipeline Configuration Area

    Add Stage
    Description of "Figure 7-132 Pipeline Configuration Area"

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

    The Stage1 icon is added below the Response Pipeline icon.

    Figure 7-133 Edit Stage Option

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

  11. As shown in Figure 7-133, click the Stage1 icon and select Edit Stage from the menu.

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

    Figure 7-134 Edit Stage Configuration Workspace Area

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

  12. Click Add an Action, select Communication from the menu, and click Publish.

    Figure 7-135 Edit Stage Configuration Workspace Area

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

  13. As shown in Figure 7-135, click <Service>.

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

    Figure 7-136 Select Service Dialog

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

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

    You are returned to the Edit Stage Configuration workspace area.

  15. Click Validate and then Save.

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

    Figure 7-137 Completed Pipeline

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

  16. Click Save.

  17. As shown in Figure 7-138, click Activate in the Change Center area to activate your changes in the Oracle Service Bus session.

    Figure 7-138 Activate Button

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

  18. As shown in Figure 7-139, copy and paste an input XML file in the input folder you have configured.

    Figure 7-139 Input XML File Copied to the Configured Input Folder

    Input File
    Description of "Figure 7-139 Input XML File Copied to the Configured Input Folder"

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

    Figure 7-140 Output XML File Received in the Destination Folder

    Output File
    Description of "Figure 7-140 Output XML File Received in the Destination Folder"