In the previous post we saw how to install SOA 12c. In this post lets get started with SOA 12c with basic Hello world example and testing the composite from the Jdeveloper, which is one of the new features in SOA 12c as discussed in post
Before proceeding any further make sure you have default domain configured as described in the previous post and start the server from Jdeveloper either as shown below or by selecting Run -> Start Integratedweblogicserver
It takes several minutes for the server to be up and running, meanwhile lets build our first SOA Composite in 12c.
First create a new SOA Application from the gallery. If SOA Application is not seen, then you need to install extension SDK as shown in the earlier installation post
Choose the standard composite and select composite with BPEL Process and click finish
A pop up will appear to name your BPEL process and select synchronous operation and leave the rest with default values and click Ok.
Now Jdeveloper creates the SOA Composite with the BPEL Process as shown
Drag and drop the assign activity in between Receive input and reply output in the HelloWorldBPELProcess from the BPEL Constructs as shown
Now your final BPEL process is as shown
Deploy your composite to the server by following the steps as shown:
You can confirm the deployment by checking your SOA Log and Deployment Log for any error and issues in deployment. If successful, you will see the below results
Now you are ready to test your first SOA Composite. SOA Application can be tested either from the EM Console or from Jdeveloper (new feature in 12c)
1. Testing from Jdeveloper: follow the below steps
2. Testing from EM Console:
login into EM console http://<hostname>:<port>/em using the domain credentials and navigate as shown:
Before proceeding any further make sure you have default domain configured as described in the previous post and start the server from Jdeveloper either as shown below or by selecting Run -> Start Integratedweblogicserver
It takes several minutes for the server to be up and running, meanwhile lets build our first SOA Composite in 12c.
First create a new SOA Application from the gallery. If SOA Application is not seen, then you need to install extension SDK as shown in the earlier installation post
Name your application, project and provide the directory location to save your project.
Choose the standard composite and select composite with BPEL Process and click finish
A pop up will appear to name your BPEL process and select synchronous operation and leave the rest with default values and click Ok.
Now Jdeveloper creates the SOA Composite with the BPEL Process as shown
Drag and drop the assign activity in between Receive input and reply output in the HelloWorldBPELProcess from the BPEL Constructs as shown
Double click on the assign activity, in the copy rules tab, provide the mapping from input to result as shown and click ok and save.
Now your final BPEL process is as shown
Deploy your composite to the server by following the steps as shown:
You can confirm the deployment by checking your SOA Log and Deployment Log for any error and issues in deployment. If successful, you will see the below results
Now you are ready to test your first SOA Composite. SOA Application can be tested either from the EM Console or from Jdeveloper (new feature in 12c)
1. Testing from Jdeveloper: follow the below steps
2. Testing from EM Console:
login into EM console http://<hostname>:<port>/em using the domain credentials and navigate as shown:
Thank you!
ReplyDeleteGreat....
ReplyDelete