In Previous post, we discuss about new ESS which is introduced in Oracle SOA 12c. As mentioned in previous post, we can schedule different type of Jobs from ESS but here we discuss only about SOA.
In this post, we see how to schedule HelloWorld SOA Composite which we created in previous post from ESS. HelloWorld is Synchronous SOA service which is deployed on SOA server.
You can see the ESS application in EM console under scheduling server folder.
There are main 3 steps that we need to perform to schedule a job.
- Define the job
- Define the schedule
- Submit job request
We discuss each step one by one.
Define the Job
This is the first step that we need to perform when we schedule any job through ESS. To define the job right click on ESSAPP à Job Metadata à Job Definitions
Click on create to define the new job.
Enter the Job Name and display Name, also choose the Job type. HelloWorld composite is synchronous SOA composite which we need to schedule so we choose “SyncWebserviceJobType” from drop down.
Click on select web service button, this will open the pop-up box. Provide HelloWorld Composite WSDL url and choose SOA as Webservice Type.
Click on Services and choose port type.
Modify the payload content as per your requirement.
Define the Schedule
Once we defined the job, next step is to define the schedule. To define the schedules go to ESSAPP à Job Requests àDefine Schedules
Click on create to define new schedule.
Fill schedule name and define frequency of the schedule.
Submit Job Request
Once you define the Job and Schedule, next step is to submit the job request. To submit the job request go to ESSAPP à Job Requests à Submit Job Requests
Choose the Job which you want to schedule. Choose the job which we defined in first step.
Choose the existing schedule. Choose the schedule which we define is second step.
As we can see in below screen, HelloWorld is getting triggered after 2 minutes.