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

Return only value flow variable from a service.

  • 1.  Return only value flow variable from a service.

    Posted Tue June 23, 2009 10:54 AM

    Hi All…

    First post here (hopefully a beginning for many more).

    I am looking for data Integration across multiple Integration Servers.
    The data is generated on each Integration Server through flow services on each of them.
    A Java application on a common server needs to receive this data from each Integration Server. So I am calling the Flow Service from Java app by sending get request to each of the Flow Services.

    Now, my problem is that each flow service returns HTML Formatted data (in the form of bordered tables around each output flow variable and its value).
    Whereas I want it to simply return the value of a particular flow variable in simple text format. (See attached screenshots for more clarification).

    Please suggest how can I get only value from Flow Service…
    CurrentFlowOutput.jpg
    RequiredFlowOutput.jpg


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 2.  RE: Return only value flow variable from a service.



  • 3.  RE: Return only value flow variable from a service.

    Posted Wed June 24, 2009 07:24 AM

    It seems that you are calling flow service via some HTTP call which returns you Default Output Template result associated to it. If you can’t change your invocation method(HTTP), then change your output template and return whatever you want at receiver end.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 4.  RE: Return only value flow variable from a service.

    Posted Wed June 24, 2009 07:30 AM

    Yes, I tried that earlier and using %varname%
    but did not work…
    Then found out that it must be written as %value varname%


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Return only value flow variable from a service.

    Posted Thu June 25, 2009 05:45 AM