RA Webservice REST agent triggering jobs in SAP IBP
search cancel

RA Webservice REST agent triggering jobs in SAP IBP

book

Article ID: 206184

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Due to a limitation with redirects in the RA.Webservice REST it is not possible to natively trigger jobs through the REST API of SAP IBP.

 

See also here:

https://apps.support.sap.com/sap/support/knowledge/en/2584064

 

Instead of receiving the x-csrf-token and cookie a html body is received with the address of the SAML server.

 

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Cause

The version of the REST interface integrated in the RA.REST cannot handle redirects to SAML

Resolution

There are two possible workarounds:

  1. Disabling SAML by adding the Query Parameter 'saml2=disable'
  2. The x-csrf token and session cookie can be fetched through a cURL command inside the REST job. Subsequently, the x-csrf-token header is captured in the Postprocessing tab and pushed to the next RA.REST job with the :PUBLISH command

Additional Information

https://stackoverflow.com/questions/56763018/is-there-a-way-to-retrieve-the-redirected-url-from-a-postman-response