Chapter - 4 : Setting Up The Enterprise Scheduler Service Jobs
This chapter describes how to configure jobs in the Enterprise Scheduler Services (ESS) for batch request processing. Before proceeding with this section, you must configure your parties and contracts in the AdminView. Please refer to the Oracle Insurance Data Gateway User Interface Guide for more info on this.
Once your parties and contracts have been established you can configure schedules for batch jobs following these steps:
- Log in to the Enterprise Manager console.
Example: http://<hostname>:<Admin Server Port Number>/em - Click the Target Navigation at the top-left corner.
- Click Scheduling Services > ESSAPP (ess_server1).
- Click Scheduling Service → Job Metadata → Job Definitions.
- Job definition screen appears.
- Click Create and Enter Name, Display Name, Package, Description and Job Type. As shown in the table below:
Name Example Description Name Alamere_IN_Carrier_PolicySync Job name Display Name Alamere IN Carrier PolicySyncAlamere Job display name Package /com/oracle/ejb File Transfer Service package. Always enter this value as ’/com/oracle/ejb’ Description Alamere IN Carrier PolicySyncAlamere Job description Job Type OnewayWebserviceJobType Job type. Always select this field value as “OnewayWebserviceJobType” - Click Select Web Service.
Note: Select Web Service appears only after you select the Job Type as OnewayWebserviceJobType. - Enter web service URL at WSDL and Click Go.
Example URL: http://<hostname>:<AML Server Port Number>/OIDX_POC_DSL-EJB-webapp/SchedulerService?WSDL - Fill in the details as shown in the table below.
Select Services SchedulerServiceMgrEJBBeanService Port Type SchedulerServiceMgrEJBBeanPort Operation fileTransferService
Payload:
<PartyShortName></PartyShortName>
<PartyType></PartyType>
<TranactionType></TranactionType>
<BusinessServiceType></BusinessServiceType>
<Direction></Direction>
<Mchnsm></Mchnsm>
<Environment></Environment>
<EndPointId></EndPointId>
Gather all the payload values from AdminView to configure jobs.- PartyShortName and PartyType
- TransactionType
- BusinessServiceType
- Direction value is always Inbound.
- Mchnsm and Environment
- EndPointId
Example:
<ns1:FileTransferService xmlns:ns1="http://oracle.oidx.com/wsdl"> <PartyShortName>AlamereNonMFTLocalFile</PartyShortName>
<PartyType>Carrier</PartyType>
<TranactionType>PolicySynchronizationProcess</TranactionType> <BusinessServiceType>PolicySynchronizationBatch</BusinessServiceType>
<Direction>Inbound</Direction>
<Mchnsm>FTP</Mchnsm>
<Environment>QA1</Environment>
<EndPointId>481</EndPointId>
</ns1:FileTransferService>
- PartyShortName and PartyType
- Click Ok to create the Job Definition.
Configuring Daily Error Log
Configure Enterprise Scheduler Services using the ESS application to schedule a particular time to run the Daily Error Log report.
Follow these steps to configure Daily Error Log report on Enterprise Scheduler Services server.
- Log in to Enterprise Manager Console.
- Click Scheduling Services > ESSAPP (ess_server1).
- Click Scheduling Service → Job Metadata → Job Definitions.
- Click Create and Enter Name, Display Name, Package, Description and Job Type. Example:
Name Daily_Error_Log Job name Display Name Daily_Error_Log Job display name Package /com/oracle/ejb Error log service package name. Always enter this value as ‘/com/oracle/ejb’ Description Daily Error Log Job description Job Type OnewayWebserviceJobType Job type.Always select this value as ‘OnewayWebserviceJobType’ - Click Select Web Service.
- Enter web service URL at WSDL and Click Go.
Example URL: http://<hostname>:<AML Server Port Number>/OIDX_POC_DSL-EJB-webapp/SchedulerService?WSDL - Fill in the details as shown in the table below.
Select Services SchedulerServiceMgrEJBBeanService Port Type SchedulerServiceMgrEJBBeanPort Operation errorLogService
Enter the following Payload:<ns1:ErrorLogService xmlns:ns1="http://oracle.oidx.com/wsdl">
<PartyShortName>Daily</PartyShortName>
<PartyType>Error</PartyType>
<TranactionType>Log</TranactionType>
<Direction>report</Direction>
<SchedulerIntervalInMins>1440</SchedulerIntervalInMins>
</ns1:ErrorLogService>
- Click Ok.
- Click OK.
- Created Job Definition can be scheduled as per desired requirements.