Sunday, July 5, 2020

Simple Hello world Demo in Oracle SOA 12c

1.      Create a new SOA Project by clicking on FileNewFrom GallerySOA Project.

2.      Click OK. Give a name for the project. In my case, it is DemoHello as shown below.

Click on Next.

Click on Finish with Empty Composite in selection. You can also select Composite With BPEL Process to save time.

Your composite will look like this.

3.      Now, drag and drop a BPEL Process from the Components window into the Components Swim lane.

Select the Template as Synchronous BPEL Process and check the check box ‘Expose as a SOAP Service’. Click  OK. Your composite should look like below.

As soon as you create a BPEL process, corresponding WSDL and XSD files will be created as below.

4.      Now, double click on BPEL Process. You’ll see Receive and Reply activities as it is Synchronous BPEL. Now drag and drop an Assign activity in between receive and reply.

Double click on Assign activity to assign input variable to output variable.

Match Input string to Output string as above and double click on the input variable under From to add custom text.

Click OK.

              

Click on Apply, then Click on OK.

5.      Your composite would look something like below.

Now, save and deploy it.

6.      For deployment, Make sure that your soa server is up. Right click on the project, DeployDemoHelloDeploy to Application Server.

Click Next.

Click Next.

Select soa server and click Next. It will look up for soa server. Then click on Next and click Finish.

Now, Go to your em console pageDeployed CompositesClick on your projectClick on Test. Give some string in Input payload and you’ll see output as given string concatenated with ‘Hello’.

 

Featured Posts

Sample Real Time Assignment in Oracle SOA