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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  is this a bug (sorting)? I think so

    Posted 07/08/02 04:57 PM

    Hello everybody,

    I’m doing this query:

    http://localhost/tamino/Noticias?_xql(1,5)=noticia//fecha sortall(. desc)

    and the result isn’t 5 elements, tamino returns all the elements in DB. I have probed in tamino v3.1.1.1 and v.3.1.1.4.

    Has anyone resolved this? if yes how?

    Note1: this kind of queries works fine without “sortall”.

    Note2: sortby works fine but it doesn’t sort the elements (only sort nodes inside one element).


    Thank you in advance!!


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: is this a bug (sorting)? I think so

    Posted 07/08/02 05:11 PM

    sortby can be specified in two places. If you specify it after the root node of a query then it sorts the returned documents into the required order

    e.g yacht sortby(details/length)/length

    If you specify sortby anywhere else in the query then what you are asking for is an intra document sort, where each document is internally sorted into the required sequence.

    As for the sortall returning all the records, I can reproduce that,(and incidentally a successful sortby does also) and I’ll pursue it through the relevant channels.

    [This message was edited by rpn on 08 Jul 2002 at 15:49.]


    #webMethods
    #API-Management
    #Tamino