Hi @Angus Reid ,
It sounds like what you are looking for is precisely what is delivered in v7's multi-step web services feature:
https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/dollar-universe/7-00-11/Manager-for-Web-Services/wbs_uvc/wbs_uprocs/wbs_uprocrestgeneral1.html
If you have the opportunity, try to install v7 in a sandbox environment to test out this new functionality. Version 7.0.11 is quite stable in my tests (7.0.01 was somewhat buggy).
The only thing to be careful about is that if you complete an average of 100 multi-step web service uprocs per day over a period of one month, you are responsible for an additional license, and additional licenses for every additional slice of 100 jobs.
In any case, there might be a way to do this in 6.10, but v7 seems to be the ideal solution for you.
Regards,
------------------------------
Domenico Cotugno
Apta Solutions, a member of Tricise Group
Broadcom Value Added Distributor
------------------------------
Original Message:
Sent: Jun 02, 2023 10:15 AM
From: Angus Reid
Subject: Authentication in DUAS Web Manager
DUAS 6.10.101 windows 2019
Have a REST Service (service 1) defined on the Web Manager which works fine. When a Uproc runs using this REST service it requires a a token to authenticate. This token is created from another uproc which runs against a different Service (service2). When the token is generated it is passsed to the second uproc as a variable. So the sequence is
Uproc1 gets a token (against service2) -> passes the token to Uproc2 -> Uproc 2 authenticates and runs a process (against service 1)
Wondering if it is possible to use authentication within service1 so that there is no need to use 2 uprocs.
Within the Web Service definition there is section on 'http definition' and a drop down including OAUTH, However it does not seem possible to put in the URL for service2 to get the authentication token. The URL for authentication is https as it need to be secure.
Is what being attempted actually possible or will things have to remain a 2 uproc process? (Do not wish to script this woudl rather use the inbuilt Dollar universe Web Manager)