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
Expand all | Collapse all

Synchronous response to Client before Complete Service Execution

  • 1.  Synchronous response to Client before Complete Service Execution

    Posted 07/12/16 09:52 AM

    Hi All,

    We have a requirement where we are having a REST service which is invoked by an external client.
    We just need to set the response and send it over same session and continue with our processing with data received in request in same service.

    Is there a way of sending a sync response to calling client in between when service keeps on executing.

    Thanks,
    Amit


    #soa
    #webMethods
    #API-Management


  • 2.  RE: Synchronous response to Client before Complete Service Execution

    Posted 07/16/16 04:38 AM

    Take the request in your REST service, save the request data in DB/ publish to broker. Send response to the caller. Now takes the request data from DB ( if you saved it in previous step ) or the subscribing service (if you publish in earlier step ) continues processing the request.

    Thanks,


    #API-Management
    #webMethods
    #soa