webMethods

webMethods

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.  xquery

    Posted Fri January 16, 2004 04:47 PM

    hi,
    I’m using Tamino 4.1.4.1 xml server from asp pages, using JS TaminoLib.
    If I try to execute a simple query i recive and error response from tamino, here is the code:

    var query = “for $a in input()/* return $a”;
    var dbname=“http://dbserver:81/tamino/GA4141/IMS”;
    var QueryObj;
    QueryObj = new TaminoClient(dbname);
    var objLR = QueryObj.query(query);

    This is the error i recieve:
    INOXIE8320 Error parsing the XQL query, Unexpected token $a found, expected was End of query

    Any ideas?
    Does js lib support xquery?
    Thanks a lot


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


  • 2.  RE: xquery

    Posted Mon January 19, 2004 08:52 AM

    I don’t suppose you have a function called “xquery” in TaminoLib.js? If not it appeared in a later version.


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


  • 3.  RE: xquery

    Posted Thu February 19, 2004 09:51 PM

    Where can we get the latest version? I didn’t see it in downloads and I’ve got a customer asking the same question – can they use Xquery in Javascript API.


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