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.  createHashtable - invalid data type: java.util.Hashtable

    Posted Mon March 23, 2015 06:08 AM

    Hello,

    when I use services from WmPublic.pub.hashtable like the “createHashtable” or “put” Service I get the following message inside the server full_log:
    XMLCoder decode invalid data type: java.util.Hashtable.

    When I put data into the hashtable this leads to thousands of entries in the server log.
    I use wM 8.2.

    Thanks in advance
    Lutz


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: createHashtable - invalid data type: java.util.Hashtable

    Posted Mon March 23, 2015 06:39 AM

    Any messages on error log on IS admin?

    Share your sample code snippet?

    See if this helps: http://www.idn-xchange.com/wm/blog/87-webmethods-step-by-step-creation-and-implementation-of-hash-table.html


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: createHashtable - invalid data type: java.util.Hashtable

    Posted Mon March 23, 2015 10:28 AM

    There is no message in the errorLog

    The message occurs already when I have a flow service, which consists only of the createHashtable statement (so it should be easily be reproduced).


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: createHashtable - invalid data type: java.util.Hashtable

    Posted Mon March 23, 2015 03:40 PM

    are you using pub.flow:savePipelineToFile service when the Hashtable variable is in the pipeline?
    When IS try to save the pipeline, it will try to encode everything. obviousely Hashtable can’t be properly encoded.
    just try to remove the savePipelineToFile service


    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: createHashtable - invalid data type: java.util.Hashtable

    Posted Wed March 25, 2015 10:25 AM

    There is no savePipeline statement. My Service to show the bug consists only of the createHashtable statement.

    Is it possible that it has something to do with a loglevel on IS? All Loglevels are on “Info”


    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: createHashtable - invalid data type: java.util.Hashtable

    Posted Wed March 25, 2015 12:30 PM

    Switching gears :stuck_out_tongue:

    Let us know your requirement for using Hash-table in wM 8.2?


    #Integration-Server-and-ESB
    #webMethods