What product/components do you use and which version/fix level?
webMethods 10.5.
Are you using a free trial or a product with a customer license?
product with a customer license.
What are trying to achieve? Please describe in detail.
Hello,
I would like to have your recommendations for a scenario:
I have a WS REST service with an input parameter (token) in a properties file. This token expires every day and I would have to renew it by calling another WS REST which generates a new token.
My question: What is the optimal solution for this case? are there solutions to store/modify/call the token?
Do you get any error messages? Please provide a full error message screenshot and log file.
The technique we use, for an automated process that has no user waiting, is to simply make a call to get a token via the API every time we need one. For a given thread of execution, we do so just once. But beyond that, we “get token” every time. Easier and sufficient so that we don’t need to address storing the token nor worry about it expiring, managing/flushing cache, etc.
Perhaps a similar approach would work okay in your situation.