B2B Integration

Sterling B2B Integration

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  IBM REST API and IBM Web Hooks

    Posted Wed July 15, 2020 11:46 AM
    In the 9.0.0.3 Release of IBM Transformation Extender, We know there is an ability to run the maps via REST API.
    In that, We understood that ASYNC call will process in a way as follows so as to get the  Translated output : POST-->GET--->GET--->DELETE
    In the above scenario Client has to check the status Continuously whether the process is completed or not.
    Is there is a way to implement the IBM Web Hooks in this flow replacing the continuous polling so that ITX API Server will notify the client when the Map Execution gets completed ?
     
    Needed Work flow in our architecture :
     
    (1)REST API Client - POST(Pre Translated Input) --> ITX REST API Server
    (2)Web Hooks - Notify(Map Execution Status Completed) -->REST API Client
    (3) REST API client- GET(POST Translated Output)--->DELETE​



    ------------------------------
    Subbaiah T
    ------------------------------

    #SupplyChain
    #B2BIntegration


  • 2.  RE: IBM REST API and IBM Web Hooks

    Posted Wed July 15, 2020 01:57 PM
    I did asked for such a feature a while back but it has never been implemented.  You have to make an enhancement request.
    I don't know how difficult it is to do it in B2Bi but I am able to do this in ACE (looping through the GET logic until the Map is completed).
    I posted a video in this web site.

    ------------------------------
    Rex Chan
    ------------------------------



  • 3.  RE: IBM REST API and IBM Web Hooks

    Posted Thu July 16, 2020 11:19 AM
    Another option to consider is the ITX Launcher Agent (prior to 9.0) or the ITX HTTP Listener (9.0 +) capability, which supports both REST APIs and web hooks - but only indirectly.  Since the ITX HTTP Listener accepts external HTTP-based web requests and forwards them right into the Launcher's world of event processing, a REST API based web call back mechanism could readily be mapped and queued up for processing by any one of the Launcher's source event triggers.

    ------------------------------
    CHRISTOPHER Handal
    ------------------------------



  • 4.  RE: IBM REST API and IBM Web Hooks

    Posted Thu July 16, 2020 11:37 AM
    Another possible option to consider is the ITX Launcher Agent (prior to 9.0) or the ITX HTTP Listener (9.0+), both of which support REST APIs and web hooks - but only indirectly.

    Since the ITX HTTP Listener accepts external HTTP requests and directly forwards them to the Launcher, a REST API with a web hook call back mechanism could be implemented by linking the client request to another Launcher based source event trigger, which in turn polls for event completion and then notifies the client via the web hook that was provided in the original REST API request.

    ------------------------------
    Chris Handal
    ------------------------------