Wednesday, August 6, 2014

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.

Oracle SOA 12c ESS


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

ESS Job Definition


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.

ESS Job Definition


Click on select web service button, this will open the pop-up box. Provide HelloWorld Composite WSDL url and choose SOA as Webservice Type.

ESS Job Definition


Click on Services and choose port type.

ESS Job Definition


Modify the payload content as per your requirement.

ESS JOb Definition


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.

ESS Define Schedule


Fill schedule name and define frequency of the schedule.

ESS Define 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

ESS Submit Job Request


Choose the Job which you want to schedule. Choose the job which we defined in first step.

ESS Submit Job Request


Choose the existing schedule. Choose the schedule which we define is second step.

ESS Submit Job Request


Testing:

As we can see in below screen, HelloWorld is getting triggered after 2 minutes.

ESS Schedule



10 comments :

  1. Hi Vivek,

    I am trying to schedule one Sample SOA composite, when i check in the EM , i am not seeing Scheduling Service Option , i have installed RCU also , please help me on this.

    ReplyDelete
  2. You need extend your domain with "ESS plugin for em".

    ReplyDelete
  3. Hi,

    how to extend it ? please provide the steps for that

    ReplyDelete
  4. Thanks. Scheduled my webservice in minutes!!!

    ReplyDelete
  5. How to stop scheduler? I delete it, but it still works! Composite starts every 2 minutes!

    ReplyDelete
  6. Excellent. A great help on 12c. Can you please provide using quartz in soa 11g

    ReplyDelete
  7. How to stop the scheduler service ?
    Please help, when i am canceling the job request its generating another one according to schedule. I deleted job defenation and scheduler both but it is still submitting the job.

    ReplyDelete
  8. I have the same question. How to stop the Scheduler services? Thanks in advance.

    ReplyDelete