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.  Error in querying tamino

    Posted Wed June 05, 2002 10:10 AM

    Hi, I tried to do a simple query to print out the value of one of the tags, and got an error which i couldn’t solve.I had included the TaminoLib.js. This is the code…



    The error msg was: Wrong number of arguments or invalid property assignment.


    #webMethods-Tamino-XML-Server-APIs
    #webMethods
    #API-Management


  • 2.  RE: Error in querying tamino

    Posted Wed June 05, 2002 11:18 AM

    hi, I m sorry i gave the wrong code. This should be the one…



    Error msg: Wrong number of arguments or invalid property assignment

    Thanks…


    #webMethods-Tamino-XML-Server-APIs
    #webMethods
    #API-Management


  • 3.  RE: Error in querying tamino

    Posted Thu June 06, 2002 11:45 AM

    Hi,
    The only problem I can see is that childNodes is a Property of the MS XMLDOM, not a Method, so you should code:
    var nodeList=xqlResult.childNodes;
    and later…
    nodeList = xqlResult.childNodes;

    Then your code works for me.
    HTH
    Bill Leeney


    #webMethods
    #API-Management
    #webMethods-Tamino-XML-Server-APIs