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.


#TechXchangePresenter
 View Only
  • 1.  Chinese characters getting corrupted after routing to TN.

    Posted Fri June 19, 2009 11:52 AM

    One of the fields in canonical document that i am routing to TN contains a chinese character. The processing rule calls another service(say serviceB) which updates/inserts the record in oracle DB. When serviceB get canonical document from bizdoc, this field having chinese character gets corrupted and I see question marks in the field.

    The content part when viewed from TN console still shows a valid value in the field.

    Appreciate if some one can give me a clue to fix this problem.

    Thanks.
    Jiten


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


  • 2.  RE: Chinese characters getting corrupted after routing to TN.

    Posted Fri June 19, 2009 12:20 PM

    i found the solution myself…

    when converting bytes from bizdoc to string, set encoding type=UTF-8


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


  • 3.  RE: Chinese characters getting corrupted after routing to TN.

    Posted Mon June 22, 2009 10:31 AM

    Hi Jiten,
    Just my thoughts on this…
    Using a fixed encoding in the implementation may only be a temporary solution.
    We have unicode and non-unicode SAP systems and it is always a problem with special characters when we use any specific type of charset.

    For unicode sending systems “UTF-8” saves the day, but the same UTF-8 makes life difficult for data sent by non-unicode systems.

    A generalized solution where our implementation should use the same encoding used by the sender system may be ideal. (As all the partners do not agree to use one encoding and its also not possible). But how to come up with such a solution? Any ideas on this?

    Cheers
    Guna
    http://www.nibodo.com


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


  • 4.  RE: Chinese characters getting corrupted after routing to TN.

    Posted Tue June 23, 2009 04:53 AM


  • 5.  RE: Chinese characters getting corrupted after routing to TN.

    Posted Tue June 23, 2009 05:06 AM


  • 6.  RE: Chinese characters getting corrupted after routing to TN.

    Posted Tue June 23, 2009 05:20 AM

    这不是王宇吗,好巧啊,你最近还好吗?


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