We need a variable in gateway converted to lower case or uppercase only .
search cancel

We need a variable in gateway converted to lower case or uppercase only .

book

Article ID: 280049

calendar_today

Updated On: 03-27-2024

Products

CA API Gateway

Issue/Introduction

When i save the service name in a variable.  The service name contains both lower and upper case letters.

The service name must only contains lower case letters.

How can I convert the string to  lower case letters There is no default assertion to do this in gateway . 

Environment

gateway 10.x 11.x 

Resolution

See the attached example policy to convert a string to lower case using the "XPath" assertion .

 

Attachments

lowercase xpath 2.0 example.zip get_app