So your problem is, that you do not know how to setup the REST webservice job or the PKIX path building issue?
#1 - In the conncetion object you can register the base url as well as endpoints and parameters that are inherited to all jobs that use the connection object and - most importantly - the credentials. In case the credentials change you can change them at a single place and all jobs will be automatically amended.
#2 - Access the service using your webbrowser. Check the certificate - likely the certificate is CA signed. Export that CA and load it into your java keystore on the webservice agent system. It's a pain but there are plenty of instructions on how to do this on the web.
------------------------------
Swisscom & WorkflowCommander
------------------------------
Original Message:
Sent: 07-30-2019 10:00 AM
From: Christopher Parrell
Subject: Automation Engine: How to set up a job to do an API call?
Hi,
So I need to create a job that can make an API call to a vendor server. I can do this in SoapUI, break the URL apart into its components (Endpoint, Resource, Parameters, but when I create a new JOBS/WEBSERVICEREST/REST object, the Web Service Rest tab isn't set up like that.I confess I don't know how the architecture works in terms of why a connection object is needed, there seems to be redundancy between the connection object and the job itself... can the job not make the call directly?
When I run the job, I get "caused by: sun.security.validator.ValidatorException: PKIX path building failed" but AFAIK there are no certificates.
Any assistance is greatly appreciated. :)