Running A Sample Application
Running A Sample Application
This chapter describes how to load and run a sample application for the Oracle SOA Suite Quick Start distribution using the
Integrated WebLogic Server's default domain.
1. Unzip e2e-1201-sample.zip into a folder outside of your Oracle home so that you can deinstall an Oracle JDeveloper
installation without losing project files. The zip contains e2e-1201-composites-sample.zip, e2e-1201-servicebus-
sample.zip, and SampleOrder.xml.
2. Unzip e2e-1201-composites-sample.zip and e2e-1201-servicebus-sample.zip into the same directory. Your directory
should now contain the OrderSample.xml and two subfolders: e2e-1201-composites and e2e-1201-servicebus.
./jdev
Windows CD ORACLE_HOME\jdeveloper\jdev\bin
jdeveloper.exe
Launch the Integrated WebLogic Server by choosing Run from top menu bar. Select Start Server Instance from the drop-down
menu, as seen in Figure 1.
When you see the following messages appear in the log, the Integrated WebLogic Server has launched successfully.
[IntegratedWebLogicServer started.]
Task 3 Load the project files.
A dialogue box titled Open Warning will pop up and warn you that you will b e converting the application files into
Oracle JDeveloper 12.1.3.0.0 file format. Click Yes to migrate the files.
After the files have migrated successfully, the contents of e2e-1201-composites will be listed in the Applications pane.
2. Click on the composite's name to trigger a drop-down menu with Open Application as an option.
Use that option to load e2e-1201-servicebus.jws from the subfolder e2e-1201-servicebus.
You can switch between the two applications using the same drop-down menu you used to access the Open
Application option.
Task 4 Deploy ValidatePayment for the SOA composites.
Right-click on ValidatePayment in the content list and highlight Deploy from the pop-up menu. Then select e2e-1201-
servicebus_ValidatePayment_ServiceBusProjectProfileto launch the Deployment Action prompt.
Select e2e-1201-composites from the application dropdown menu. Right-click on ProcessOrder and highlight Deploy from the pop-
up menu. Then select ProcessOrder... to launch the Deployment Action prompt.
This will open the project overview in the main project canvas.
Right-click on the ProcessPS box in the Proxy Services swim lane and select Run. This will launch the Proxy Service
Testing application in a web browser.
Task 9 Enter the sample payload.
Use the Browse button next to the Payload field and find SampleOrder.xml. Then click the Execute button at the top of the page.
When the page refreshes, you should see all of the billing information filled out in the xml form. Scroll down to the Response
Document heading and look to see if an OrderNumber was generated. If it has, your application executed successfully.