SOA : Hello World

Objective of this tutorial:
This tutorial will help you get started with simple SOA  Hello World Application. This application takes a string input and returns the output by prepending “Welcome” to it. e.g. when I run the application by providing Chaitanya as input then it returns “Welcome Chaitanya”
Prerequisites:
JDeveloper 11g R1 or Later with Configured SOA Plugin and SOA Server for Deployment.
Lets Acheive it :
Lets follow the steps below to achieve our objective.
  1. Open Jdeveloper. From File Menu –> Select New1.PNG
  2. Select SOA Project and click Next2.PNG
  3. Add Application Name and Directory to store the application. Click on Next.3.PNG
  4. Enter Project Name and Click on Next4.PNG
  5. Select Composite With BPEL Process and Clik Finish.5.PNG
  6. Enter the Name and select Synchronous BPEL process and click on OK.6.PNG
  7. The Complete project is ready with the .bpel file is opened.Double click on HelloWorldProcess (which is blue in color  at center.)7.PNG
  8. This will display the actual BPEL process having receive and reply activity. The Receive Activity provides you with payload having input parameters. The following window will appear once you double click on the Receive Activity.8.PNG
  9. Where as Reply Activity comprises of the output parameters.The following window will appear once you double click on the Reply Activity.9.PNG
  10. From the component Palette add the Assign Activity  between Receive and Reply Activities.10.PNG
  11. Now double click on Assign Activity. This will open following window.11.PNG
  12. Now select the output parameter from the responseprocess. Right click on it and select the Expression option as shown below.[Here we will be assigning the value coming from input parameter to output parameter by adding the “Welcome ” string to it.] 12.PNG
  13. Now we will first call the concat() function by passing the hard coded value “Welcome “.13.PNG
  14. Now we will add the value of input parameter as second argument to concat() function.15.PNG
  15.  This completes the HelloWorld Application.15.PNG
  16. Click on Apply and OK.16.PNG
  17. To deploy the application right click on the project and select Deploy.17.PNG
  18. This will open Deployment Wizard18.PNG
  19. Click on Next19.PNG
  20. Click on Next20.PNG
  21. Click on Next21.PNG
  22. Click on Finish. This will complete the deployment of SOA Composite on selected SOA Server.

Comments

Popular posts from this blog

Entitlement valid from and valid to date

BI Publisher Bursting

Assigning the “System Administrator” Role to the user