Layer7 API Management

 View Only
  • 1.  Polling a Webservice

    Posted Jul 27, 2016 08:48 AM

    We want to integrate a system with webservice API through Layer7.


    The system provides one service we have to call periodically. If the provider has new "messages" for us, we get a list of IDs to process.


    We can then get the messages one by one by calling the webservices with the message-ID.


    Can I do a webservice polling on Layer7?




  • 2.  Re: Polling a Webservice
    Best Answer

    Posted Jul 27, 2016 10:39 PM

    As of Gateway 9.0, scheduled-tasks have been implemented into the Gateway so you can create a policy that runs at an interval. Sounds like something you could use in order to accomplish what you are trying.

  • 3.  Re: Polling a Webservice

    Posted Jul 28, 2016 01:17 AM

    Thanks for this hint.

    We are still on Version 8.3. So I have to call the policy periodically by a local cron job. But it is good to know that version 9.x can do this itself.