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

convertToValues with trim flag

  • 1.  convertToValues with trim flag

    Posted Tue November 17, 2009 05:51 PM

    for Wm 6.5, convertToValues has parameter to trim white spaces.
    If I pass flat file data as a string and set the trim flag to both.
    flat file record is created and each field is trim.

    But if I pass flat file data as stream, flat file record is created, but each field is not trimmed as expected.

    Any suggestions.
    workaround is possible by trimming individual fields but why convertTovalues doesnt work with stream.


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 2.  RE: convertToValues with trim flag

    Posted Tue November 17, 2009 06:00 PM

    I believe,it should work with InputStream (ffData) also…

    Can you try setting encoding param (mainly for InputStream passed) and check the output if it trimed the data?

    HTH,
    RMG


    #webMethods
    #edi
    #Integration-Server-and-ESB