webMethods

webMethods

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.  IData manipulation using Java

    Posted Fri July 25, 2003 02:15 PM

    Does anyone know of a good technique for traversing an IData object whose structure is not predefined using Java? I am trying to use the java trim function to remove the whitespace from a record that was created from a positional based Flat File.


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


  • 2.  RE: IData manipulation using Java

    Posted Fri July 25, 2003 07:03 PM

    Hi,
    Take a look at the java services in WmSamples package under idata folder. The service that you should look at is sample.idata:walkAnIData. the method under shared tab “dumpIData” is used to walk through an IData, whose structure can be anything.

    Thanks,
    Hari


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


  • 3.  RE: IData manipulation using Java

    Posted Mon July 28, 2003 03:16 PM

    Thanks Hari, after posting this I started to look through the samples and found that same example you pointed me to. It certainly helped me to solve the problem I had.


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