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.  Space between each character when reading file

    Posted 08/23/19 10:57 AM

    I’m working on importing a flat, text file. Even though a text editor and Excel both read this file fine, webMethods sees a space between each character, and two strange characters at the beginning. Is there a file-protocol or encoding setting somewhere that I can specify so that webMethods might see this file correctly?

    A JPG is uploaded here showing ffValues for my file’s header line.
    webMethods example.JPG


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 2.  RE: Space between each character when reading file

    Posted 08/23/19 11:37 AM

    How you are getting file ? If you are using pub.file:getFile and pub.flatFile:convertToValues service then you can set encoding in these services.


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 3.  RE: Space between each character when reading file

    Posted 08/23/19 11:40 AM

    Yes, those are what I’m using. What do I need to set?


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 4.  RE: Space between each character when reading file

    Posted 08/23/19 11:46 AM

    Is it possible to share the sample file here ?


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 5.  RE: Space between each character when reading file

    Posted 08/23/19 11:50 AM

    I’m sorry. I can’t. It’s got confidential information.


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 6.  RE: Space between each character when reading file

    Posted 08/26/19 02:40 PM

    Hi,

    Looks like webMethods is not detecting the UTF-8 and the ByteOrderMarker correctly.

    The first two chars indicate if it is LittleEndian (LE) or BigEndian (BE) UTF-8 encoded.
    When UTF-8 is not decoded correctly the additional byte of the 2-bytes sequence is interpreted as an empty char.

    Regards,
    Holger


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 7.  RE: Space between each character when reading file

    Posted 08/26/19 02:59 PM

    Thank you, Holger.

    Is there somewhere in my process that I can indicate UTF-8 so that it’s interpreted correctly?


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB