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.  Map documentList to stringTable

    Posted Mon January 04, 2016 10:46 AM

    Hi guys,

    I would like to know, if there are a usual way to map a documentList to a stringTable.

    For Example, I have documentList like this:

    
    DocList
    DocList[0]
    var1
    var2
    var3
    DocList[1]
    .....

    Each doc have to be a new row and each var have to be a column. So that’s the table looks like this:

    
    column1 column2 column3
    row1  var1       var2       var3
    row2  var1       var2       var3
    .....

    I hope anyone knows a good an easy way.

    Best regards
    Mario


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


  • 2.  RE: Map documentList to stringTable

    Posted Mon January 04, 2016 11:32 AM

    The only way I know to do this is to (ta-dam!) program a loop. In a flow or in a java service. I’d do it in a flow service (if speed isn’t a matter). In each iteration of the loop you’d fill one row of the table.


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


  • 3.  RE: Map documentList to stringTable

    Posted Tue January 05, 2016 03:50 AM

    Mario – Did you try documentArrayToStringTable built-in service will serve this need.

    Thanks,


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