IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Accessing IS cache from API Gateway

    Posted 03/24/23 01:21 AM

    Hi All,
    I have a requirement where I have to store a token value in IS cache and retrieve that value for further API calls. I have a total of 4 APIs, where the 1st Token API call is present in gateway IS and other API calls are present in ESB server.
    In the Token API call, i am storing the token in gateway IS cache. So for the subsequent API calls, I need a way to retrieve the cached value in API gateway so that i can pass it to ESB server in routing.

    Please help on this. Thanks in advance.


    #Integration-Server-and-ESB
    #API-Gateway
    #webMethods
    #API-Management


  • 2.  RE: Accessing IS cache from API Gateway

    Posted 03/24/23 07:13 AM

    I’ve once implemented the more or less the same thing.

    I presume that you are using a Flow service invoked through a request processing policy? You can use the same or another Flow service to “inject” the cached token into the appropriate HTTP header for the downstream backend call.


    #API-Management
    #webMethods
    #API-Gateway
    #Integration-Server-and-ESB


  • 3.  RE: Accessing IS cache from API Gateway

    Posted 03/27/23 05:08 AM


  • 4.  RE: Accessing IS cache from API Gateway

    Posted 03/24/23 03:40 PM

    Are you using the pub.cache:put service to store the token? If so, you can retrieve it with pub.cache:get,


    #webMethods
    #Integration-Server-and-ESB
    #API-Gateway
    #API-Management