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
  • 1.  How to implement a double dimensional array?

    Posted 10/19/06 11:43 PM

    I want to implement a double dimensional (string)array in my flowService.
    Do i need to write a java service for this…? or Is there any service?
    If yes, could u please tell me in detail of how would i add a item and retrive the item from that list…
    srikanth


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


  • 2.  RE: How to implement a double dimensional array?

    Posted 10/20/06 04:50 AM

    Hi Srikanth,
    YOu can use a string table for a two dimensional array. There are service si n pub folder to insert and retrive data from a string table. Please go through BOS Reference guide for more details

    Rgds,
    Pradeep


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


  • 3.  RE: How to implement a double dimensional array?

    Posted 01/15/08 04:52 PM

    Hi pradeep,

    Can you tell me what are the services that can be used to populate a double dimensional array. is there a built in service to do that?
    Thanks
    Wm_kris


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


  • 4.  RE: How to implement a double dimensional array?

    Posted 01/16/08 08:21 AM

    Not so sure about data insertion (other than by explicit MAP), but pub.string:lookupTable can access data in a string table.


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


  • 5.  RE: How to implement a double dimensional array?

    Posted 01/16/08 09:01 PM

    I would use simple java for insertion…

    IDataCursor idc = pipeline.getCursor();
    String sri = new String [2][2];
    // Map your pipeline here
    sri[0][0] = “00”;
    sri[0][1] = “01”;
    sri[1][0] = “10”;
    sri[1][1] = “11”;
    idc.insertAfter(“myDArray”,sri);
    idc.destroy();


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


  • 6.  RE: How to implement a double dimensional array?

    Posted 10/30/09 07:39 PM

    Did you find how you will do it in 2 dimensional? :slight_smile:


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