Deploying with JDeveloper Oracle Socket Adapter Hello World

Oracle JCA Adapter for Sockets 5-61 Note your Instance ID in the Recent Instances area.

3. Click the Instances tab. The Instance IDs of the SOA composite are listed.

4. Click the Instance ID that you noted in Step 2. The Flow Trace page is displayed. 5. Click your BPEL process instance. The Audit Trail of the BPEL process instance is displayed. 6. Expand a payload node to view payload details.

7. Click the Flow tab to view the process flow. Additionally, click an activity such as

invoke, receive to view the details of an activity.

5.5.2 Flight Information Display System

The flight information display system use case demonstrates the various modes of defining handshakes by using Oracle Socket Adapter.A flight information display server FIDS is started by an FIDS client requesting information on flight status for flights originating from a particular source, JFK, or SFO. The FIDS, in turn, invokes flight data requests for three airlines, Airline1, Airline 2, and Airline 3. The FIDS then collates the information received and replies to the FIDS client by using the HTTP protocol. This use case includes the following sections: ■ Section 5.5.2.1, Prerequisites ■ Section 5.5.2.2, Designing the SOA Composite ■ Section 5.5.2.3, Creating the Inbound Oracle Socket Adapter Service ■ Section 5.5.2.4, Creating Outbound Oracle Socket Adapter Services ■ Section 5.5.2.5, Wiring Services and Activities ■ Section 5.5.2.6, Deploying with JDeveloper ■ Section 5.5.2.7, Monitoring Using the Fusion Middleware Control Console

5.5.2.1 Prerequisites

To perform this use case, you require the following files from the artifacts.zip file contained in the Adapters-102SocketAdapterFlightInformationDisplaySystem sample: ■ artifactsschemasAirline1.xsd ■ artifactsschemasAirline2.xsd ■ artifactsschemasAirline3.xsd ■ artifactsschemasFIDS.xsd ■ artifactsxslrequest.xsl ■ artifactsxslreply.xsl ■ artifactsxslinvoke.xsl To obtain the Adapters-102SocketAdapterFlightInformationDisplaySystem sample, access the Oracle SOA Sample Code site, and select the Adapters tab. 5-62 Oracle Fusion Middleware Users Guide for Technology Adapters

5.5.2.2 Designing the SOA Composite

You must create a JDeveloper application to contain the SOA composite. To create an application and a project for the use case, perform the following steps:

1. In the Application Navigator of JDeveloper, click New Application. The Create

Generic Application - Name your application page is displayed.

2. Enter FIDSApp in the Application Name field, and then click Next. The Name

your project page is displayed.

3. Click OK. The Name Your Project dialog is displayed.

4. Enter FIDSComposite in the Project Name field, and then select SOA under

Project Technologies and move it to the Selected box by clicking the right-arrow. The FIDSApp application and the FIDSComposite project appear in the Application Navigator.

5. Click Next. The Configure SOA Settings dialog appears.

6. Select Composite With BPEL in the Composite Template box, and click Finish.

The Create BPEL Process dialog is displayed.

7. Enter BPEL_FIDS in the Name field and select Define Service Later from the

Template box.

8. Click OK. The FIDSApp application and the FIDSComposite project appear in the

design area, as shown in Figure 5–74 . Figure 5–74 The JDeveloper - composite.xml

9. Copy the Airline1.xsd, Airline2.xsd, Airline3.xsd, and FIDS.xsd files

to FIDSComposite\xsd under the project FIDSComposite see Section 5.5.2.1, Prerequisites for the location of these files. 10. Copy invoke.xsl, request.xsl, and reply.xsl to FIDSComposite\xsl under the project FIDSComposite see Section 5.5.2.1, Prerequisites for the location of these files.