Monday, October 12, 2015

SOA12C: Getting started – Hello World project SOA


In the previous post I showed the installationof Oracle SOA in windows 7 machine and to configure integrated domain.

So let’s start with our sample Hello World Project:
you can download this sample from here.

Create a new SOA application:

Enter the Application name and directory location, for the first time you will have to create myworks directory for ex. For my case below is the location I have specified for this project:





Create an empty composite and click on finish, we will add bpel on next stage, though you can add bpel now in this stage as well, won’t matter much.


OK, now add a BPEL process, either drag from component pallet or right click on components pane and select bpel process.


Select a synchronous bpel process template because for our Hello World example, we need to see the response. Leave the input and output as default, the default schema will do for this example


An exposed service and a bpel component will appear in our composite.


Open the bpel process, we will see that receive and reply operations are already present, this is because while creating our project we selected synchronous operation.

Now add an assign activity, in this assign we will concatenate string Hello to the incoming message:




Our project is ready, next thing is to deploy the composite to our integrated server.












This is giving error for port 7102 which is our SSL port, we need to disable this to avoid this error, go to Admin console(http://localhost:7101/console/)
Click on Click on Home -> Servers -> Deafultserver -> Configuration -> General

Uncheck SSL Listen Port Enabled





you can test from em console or from the web service url or from JDeveloper itself.
Here i have used em console to test the process, to test it from Jdeveloper go to
Application Servers -> IntegratedWeblogicServer->SOA->DefaultServer->default->HelloWorld[Default1.0]->helloworldbpelprocess_client_ep
right click on this wsdl and click on Test Web Service.

Now test your composite again, here i have tested it from em console:





No comments:

Post a Comment