Alejandro,
You can do this using Results actions. That is, a Results action is not *just* for the end of a processing rule. It can be used anywhere to make such back end calls. You simply provide the proper input context, supply the URL and hand off the output context to the next results action (I know I'm likely simplifying things a bit).
You more than likely also need to customize your XML manager and User Agent, but at the end of the day, the amount of code you write will be significantly reduced if not eliminated altogether.
Joseph Morgan
------------------------------
Joseph Morgan
------------------------------
Original Message:
Sent: Tue June 14, 2022 12:06 PM
From: Alejandro Prada
Subject: help with dynamic backends MGPW
Hello good day, I need help, in MPG how can I dynamically orchestrate several calls to different backends? That is, having an APi in datapower would need to call a backend and get the response, then in the same flow call another backend and get response and finally call another backend. I was thinking of doing it in StylePolicy using a transformation but I don't know how to make the calls.
Thank you very much for the help
------------------------------
Alejandro Prada
------------------------------