Enterprise Service Scheduler (ESS) in SOA is used to schedule SOA Components or webservices as discussed in the previous post. In this post we will go through the steps involved in scheduling a SOA webservice.
We will schedule the HelloWorldBPEL service. Follow the below steps.
Login in to the em console, Open ESSAPP and click on Job Definitions as shown.
Click on create under the Results tab as shown
Provide the WSDL location and Select Web service type as SOA and click on Go.
Select Services and Port Type and provide the default Input payload for the webservice invocation and click okThe Job description for the HelloWorld BPEL Service is displayed under results tab as shown.
Now we need to create a schedule. Navigate to Work Allocation and click on Schedules as shown.
Provide the name for the schedule and the frequency of when to invoke the webservice and Start date and end date as shown and click ok.
Now we need to submit the Job Request. Click on Job Requests from the ESSAPP and click on Submit Job Request.
Select the Job Definition and scheduler as defined in the previous steps as shown.Once selected submit job request page is as shown.
Testing: We can see below in the flow Instances tab that Hello World service is created every 2 minutes.