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.

 View Only
  • 1.  Synchronous communication over http

    Posted Thu April 08, 2004 03:33 PM

    Hello,

    When you send a http to your IS, I know IS sends back a 200 message. Is it possible to add an xml to this message? Or tell the IS to wait untill the xml is ready and then send it back together with the 200 message?

    What we want is thus a synchronous communication over http.

    Kindest regards,

    Nico


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Synchronous communication over http

    Posted Thu April 08, 2004 03:52 PM

    You should try using the “pub.flow:setResponse” service. This service helps you to send a XML message (synchronously) as a part of the HTTP response.


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Synchronous communication over http

    Posted Thu April 08, 2004 03:52 PM

    Yes, it is possible. Just in the service that handles your http request use the pub.flow:setResponse built-in service. The service will do the job. See the manual for details.
    HTH.


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 4.  RE: Synchronous communication over http

    Posted Thu April 08, 2004 05:06 PM

    Also, be aware that IS will by default, send back an xml nicely formatted into an html table, based on the contents you leave in the pipeline. The IS uses a default template. (At least in WM 4.6)

    You can create your own template that returns xml based on the contents of a specific record(s). The response goes out based on the contents of the pipeline after the last step within your flow has completed.


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods