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
Expand all | Collapse all

TaminoLib

  • 1.  TaminoLib

    Posted Wed April 19, 2006 12:34 PM

    Hello,
    I’ve Tamino 4.4.1 and an application with TaminoLib.js. In version 4.2.1 runs OK, but with the new version it doesn’t. I’m using cursors, and only the getNext() method works. getLast(), getFirst() and getPrev() doesn’t work. I have seen that’s Tamino doesn’t returns the ino:prev, ino:first and ino:last tags.
    Can anybody help me?
    Thanks in advance.


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


  • 2.  RE: TaminoLib

    Posted Thu April 20, 2006 11:56 AM

    The old style cursoring was finally removed in Tamino 4.4 (it had been deprecated for years).

    You should be able to do something similar using XQuery.


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


  • 3.  RE: TaminoLib

    Posted Thu April 20, 2006 12:05 PM

    I’m using this type of query:
    http://localhost/tamino/../…?_xql=…&_cursor=open&_scroll=yes&_position=1&_quantity=10

    Is this deprecated?


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


  • 4.  RE: TaminoLib

    Posted Thu April 20, 2006 12:07 PM

    The nomenclature leaves a lot to be desired but the _xql command query is called “X-Query” and _xquery command query is called “XQuery”.


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


  • 5.  RE: TaminoLib

    Posted Thu April 20, 2006 12:28 PM

    Hi, Mark.
    I’ve modified my application to send an xquery instead of query : http://10.43.20.31/tamino/mercantil/empresas?_XQUERY=for+%24a+in+input()%2Fempresa where+tf%3AcontainsText(%24a%2Fnombre%2C+“ca”) return+%24a&_encoding=windows-1252&=&_cursor=open&_position=10&_quantity=16&_sensitive=vague&_scroll=yes, and Tamino only returns the ino:prev and ino:next tags, but ino:first and ino:last no.
    This tags are never returned in this version?
    Thanks a lot of.
    Javier.


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


  • 6.  RE: TaminoLib

    Posted Thu April 20, 2006 12:31 PM

    I think that your observation that XQuery does not return ino:first or ino:last is correct.


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


  • 7.  RE: TaminoLib

    Posted Thu April 20, 2006 12:32 PM

    But is that a feature or is a bug?
    Thanks.


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


  • 8.  RE: TaminoLib

    Posted Thu April 20, 2006 12:35 PM

    I think that is as intended (i.e. feature).

    The programmer should know the first position as it as originally requested. The last is slightly more problematic.


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


  • 9.  RE: TaminoLib

    Posted Fri April 21, 2006 09:30 AM

    Works as documented. Please refer to Tamino documentation.

    Regards

    Harald


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