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
  • 1.  TN can not recognize xml document with "EUC-JP" encoding

    Posted Wed September 17, 2008 08:34 AM

    Hi all

    I 'm having a problem with my TN, My TN can not recognize xml document that have encoding is “EUC-JP”(<?xml version="1.0" encoding="EUC-JP"?>), it work fine with “UTF-8” encoding
    When i load a sample xml that have encoding is “EUC-JP” for test, the error message is
    " Error loading sample document
    Please make use that the correct encoding is set for this file or select a different sample document"
    If any boby have meet same problem before, please give me your solution

    Thanks a lot
    TanNM


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 2.  RE: TN can not recognize xml document with "EUC-JP" encoding

    Posted Wed September 24, 2008 03:06 PM

    Please tell me your IS version,thanks!


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 3.  RE: TN can not recognize xml document with "EUC-JP" encoding

    Posted Wed September 24, 2008 03:42 PM

    May be you can try with other Japanese encoding like “ISO-2022-JP” etc…??

    Talk to tech support whether the “EUC-JP” is supported…unless you use webMethods JP version.

    HTH,
    RMG


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 4.  RE: TN can not recognize xml document with "EUC-JP" encoding

    Posted Sat September 27, 2008 06:27 AM

    Hi RMG!

    Thanks for reply, i have solve this problem, i save this document with UTF-8 encoding, so it does not recognize some chacracter.

    Regards
    TanNM


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: TN can not recognize xml document with "EUC-JP" encoding

    Posted Wed October 08, 2008 05:54 PM

    HI All,

    I am testing some XML files in my TN setup. When I use the the Document Submission form the TN properties , the processing rule identifies the doc and executes perfectly.

    But When I try to submit the same XML doc from another IS using the wm.pub.Client:http service, the document is not processed.

    The encoding shows as :application/x-www-form-urlencoded

    This is creating an issue with the XML processing.

    Can anyone suggest the best way to test the TN setup from another IS?

    Thanks,
    Johnrose.


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: TN can not recognize xml document with "EUC-JP" encoding

    Posted Wed October 08, 2008 06:50 PM

    When you submit the document via pub.client:http, how are you sending it? Document, string, etc.

    I find the best results when I send it as a string called $xmldata under the data/args field.


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 7.  RE: TN can not recognize xml document with "EUC-JP" encoding

    Posted Wed October 08, 2008 09:19 PM

    Apart from the said above,also set the headers/Content-Type=“text/xml” (using SetValue) in the http service.

    HTH,
    RMg


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods