How to define a CA WA ESP Web Service job to initiate a CA PAM Start Request.

book

Article ID: 36483

calendar_today

Updated On:

Products

CA Workload Automation ESP Edition

Issue/Introduction

 

Summary:

How to define a CA WA ESP Web Service job to initiate a CA Process Automation (PAM) Start Request.

Background: 


The CA WA ESP WS Doc/Literal Job enhancement enabled the WEB_DOCLIT job type.  It allows you to submit and monitor Web Service Document/Literal job using a Web Services Agent plugin of the System Agent. 

The WEB_DOCLIB job type can be used to initiate a CA PAM Start Request.  This process could be used when a job fails in ESP, and you need to pass critical information about the job to CA PAM.

Environment:  


CA Workload Automation ESP Edition Release 11.4 with PTF RO81816 for WS Doc/Literal job enhancement.

 

Instructions: 

The following sample WEB_DOCLIT job definition is used to initiate a CA PAM Start Request named "Don_ESP", and passes two parameters named "JobName" and "AgentName".

WEB_DOCLIT PAMTEST
  AGENT AGENTU_WEB                                                    
  OPERATION executeStartRequest                                       
  ENDPOINT_URL http://[server_name]:8080/itpam/soap          
  PORTNAME ItpamServiceSoap                                           
  SERVICENAME ItpamService                                            
  WSDL_URL http://[server_name]:8080/itpam/soap?wsdl         
  PARAMETER NAME(/executeStartRequest) VALUE('')                      
  PARAMETER NAME(/executeStartRequest/auth) VALUE('')                 
  PARAMETER NAME(/executeStartRequest/auth/user) VALUE(userid)      
  PARAMETER NAME(/executeStartRequest/auth/password) VALUE(password)  
  PARAMETER NAME(/executeStartRequest/objLocation) VALUE('')          
  PARAMETER NAME(/executeStartRequest/objLocation/name) VALUE(Don_ESP)
  PARAMETER NAME(/executeStartRequest/objLocation/path) VALUE('/')    
  PARAMETER NAME(/executeStartRequest/params) VALUE('')               
  PARAMETER NAME(/executeStartRequest/params/param) +                 
            VALUE('This is my Job Name')                              
  PARAMETER NAME(/executeStartRequest/params/[email protected]) VALUE(JobName)
  PARAMETER NAME(/executeStartRequest/params/param) +                 
            VALUE('This is my Agent Name')                            
PARAMETER NAME(/executeStartRequest/params/[email protected]) VALUE(AgentName)
  RUN DAILY                                                             
ENDJOB

Modify the following fields for your environment:
1) ENDPOINT_URL
2) WSDL_URL
3) userid is a valid PAM userid
4) password is a valid PAM password

 

Additional Information:

. The WEB_DOCLIT job type requires WOBDEF CYBESOWD.  Execute the following ESP page mode command to load this module:
  OPER WOBDEF LOAD(CYBESOWD)

  The WOBDEF may also be coded as an ESP init statement: WOBDEF CYBESOWD

.  In CA PAM, a Start Request will need to be created.

. Recommended reading material:  CA WA ESP Edition WS Doc/Literal Job Enhancement r11.4 on the CA ESP bookshelf

 

 

 

 

Environment

Release: ENCWLA00200-11.4-Workload Automation-Restart Option-EE
Component: