I'm new to Datapower Gateway script. In my script I try to get value of context variable like var://context/WSM/identity/credentials.
I try something like:
session.input.getVariable('var://context/WSM/identity/credentials');
session.input.getVar('var://context/WSM/identity/credentials');
session.name('WSM');
But I alway have 'undefined' response.
My question how can I access from gatewayscript to a context variable ? And globaly, is these the right way to get user crenter code here
edentials or there is another way ?
Thank you for your help.