0% found this document useful (0 votes)
64 views

Execute BPEL Process Using ADF JSF Pages

This document provides steps to call an existing BPEL process from a Java Server Faces (JSF) page created using Oracle Application Development Framework (ADF). It involves getting the BPEL process WSDL URL, building the JSF page using a web service data control, and running the JSF page. Key steps include getting the BPEL process WSDL, creating a JSF and UI project, dragging components from the palette to design the page, and running the JSF page to execute the BPEL process.

Uploaded by

V kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views

Execute BPEL Process Using ADF JSF Pages

This document provides steps to call an existing BPEL process from a Java Server Faces (JSF) page created using Oracle Application Development Framework (ADF). It involves getting the BPEL process WSDL URL, building the JSF page using a web service data control, and running the JSF page. Key steps include getting the BPEL process WSDL, creating a JSF and UI project, dragging components from the palette to design the page, and running the JSF page to execute the BPEL process.

Uploaded by

V kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 32

Execute BPEL Process using ADF JSF

Pages
This article is all about how to call existing BPEL process using JAVA Server faces(JSF). This JSF
page is created using oracle Application Development Framework(ADF).

Steps:

1. Get the WSDL URL

2. Build the JSF Page

3. Run the .jspx page

Get the WSDL URL:

Start your SOA Suite

Open BPEL Console using http://localhost:8888/BPELConsole


Click on the DatabaseAdapterTutorial that we developed in previous tutorial. You can download
the code from here.
Click on WSDL tab
Click on the URL listed as WSDL Location
Copy the URL from the above page and save it somewhere.

http://localhost:8888/orabpel/default/DatabaseAdapterTutorial/1.1/DatabaseAdapterTutorial?wsdl

BUILD JSF Page:

Right click on the page and select ‘New’


Select Web Services and Web Service Data control
Click OK
Click Next
Enter the name as you wish

URL: Copy the URL that we copied to notepad in the previous step

Service: It will be populated automatically if your WSDL URL is valid

Click Next

Click Add button


Click Next
Click Finish

You will return to jDeveloper automatically

Save the project CTRL+S

Create New Project for User Interface


Click OK

Click OK
Right click and select New
Expand Web Tier and select JSF

Select JSF JSP Item and click ok


Next
Next

Next
Next
Add the libraries as shown above and click Next

Next
Finish

You will return to jDeveloper and

DatabaseAdapterUserInterface.jspx page will be opened automatically


Save project CTRL + S

From the component Palette select ADF Faces Core


Drag and drop Panel Page component to the opened .jspx page
Click on Title 1 and change the Title in the property inspector

Click Tab and Enter to see the changes in jDeveloper


Drag Panel Border component below the line under Database Adapter Tutorial title

The page should look like below screen


Select Data control Palette side by the Component palette

Select the ExecuteBPELProcess and expand it

Drag and drop Process(String) on to the top link


Change the display label to ‘Enter ID’ and click OK

The page will look like below screen


In Data Component Palette expand Parameters and

Drag and drop the String to the bottom


Select ADF Output Text with Label

Change the Text to Email

Jdeveloper Middle portion will look like this


Save project CTRL + S

Drag Object Separator component on to Start link

Save project
Run the JSF Page

Right click on the page in jedeveloper and click Run

.jspx page will open up in your default browser


Enter the ID and click Submit
You will see the corresponding email of the ID

You might also like