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

pub.client:http response : newbie question

  • 1.  pub.client:http response : newbie question

    Posted Wed February 07, 2018 06:50 AM

    hello
    my navigator invokes my service : http://server:5555/invoke/test:test?param=toto
    this service invokes pub.client:http that does a POST on an other web server that returns a web page1
    I simply want to display this web page1 on my navigator but WBM returns a web page2 with the web page1 encapsulated with body and bytes tag (see the html code after)
    thanks

    body
    bytes

    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: pub.client:http response : newbie question

    Posted Wed February 07, 2018 09:22 AM

    Hi,

    you can use pub.flow:setResponse2 to force a response (ie. the body from your page2).

    You can also use “Output template” in the property of your flow service to format the outpu.


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: pub.client:http response : newbie question

    Posted Wed February 07, 2018 12:27 PM

    thanks pub.flow:setResponse2 does the job


    #Integration-Server-and-ESB
    #webMethods