CA Workload Automation DE Web Service jobs receiving authorization issues

book

Article ID: 6492

calendar_today

Updated On:

Products

DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

The CA Workload Automation DE has Web Service job type that allows connecting to applications providing various services on the Net or within corporate network.  Web services provide access to applications written in Java and Microsoft©.NET. A web service lets you invoke operations such as currency conversion, stock exchange quotes, or product pricing. In an enterprise workload automation environment, a web service might be used to invoke a business process such as posting accounts payable to the General Ledger.

Note: To run these jobs, your system requires CA WA Agent for UNIX, Linux, or Windows and CA WA Agent for Web Services.

Web Service jobs require that all the parameters be correctly entered.  The job has provision for several user and authentication setup, which may be needed to properly access the services.  If the CA Agent is not able to authenticate properly, the job may result in SUBERROR.

<Please see attached file for image>

wsdla_suberror.png 

Cause

The SUBERROR is usually results due to authentication issues.  The CA WA Agent logs may show error like these:

 

04/28/2017 08:42:56.464 EDT-0400 3 WebservicePlugin.webservice Internal Thread.CybObjectQueue.put[:314] - put  . . [email protected]_DE webservice WEBSERVICEDOCLIT0/WEBSERVICES_JOB_TRIGGER.5/MAIN STATE SUBERROR Failed SetEnd Status(Error submitting request) Plugin(webservice)

The above may be an indication of access and authentication issue.  In Web Service job, make sure the user (in Basic tab) has been properly defined.  

Environment

CA Workload Automation DE R12 or R11.3CA Workload Automation Agent for Web Service

Resolution

To fix SUBERROR, make sure the user (in Basic tab) has been properly defined.  This user must have access to the application.  To test, access the application via web browser or any client and enter the user and password to see if works.

<Please see attached file for image>

style="display: block; margin-left: auto;" src="/servlet/servlet.FileDownload?file=0150c000004AKS1AAO" alt="ws_job_definition.png" width="566" height="325">

Some web service may limit access to the WSDL.  Test accessing the WSDL URL from a browser.  If it requires username and password, usually there will be drop down window on the top of the page, then that username and password will need to be defined in 'Connection Information' section.

Tip: The WSDL access can also be tested from the Desktop Client.  Enter the URL in WSDL URL field (see above), and then press the Green Arrow button.  If access is restricted, a window will popup requesting user and password.

 

<Please see attached file for image>

style="display: block; margin-left: auto;" src="/servlet/servlet.FileDownload?file=0150c000004AKS0AAO" alt="ws_job_connection_info.png" width="573" height="325">

Attachments

1558714874925000006492_sktwi1f5rjvs16tmj.png get_app
1558714872993000006492_sktwi1f5rjvs16tmi.png get_app
1558714871035000006492_sktwi1f5rjvs16tmh.png get_app