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.  executing two queries sequentially

    Posted Mon May 24, 2004 10:25 PM

    Hi,

    I want to do something very simple:
    - execute a query on a document
    - execute a second query on the result
    - get back the final result

    By looking at the API and playing with Tamino, it seems that the only way to do that is to:
    - execute the query
    - get back the result as DOM
    - put the result back
    - execute the second query
    - get the final result as DOM

    Am I missing something?
    I would like Tamino to keep the result of the first query internally and let me execute other queries on the result without having to go through DOM.

    regards,

    Arnaud


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


  • 2.  RE: executing two queries sequentially

    Posted Mon May 24, 2004 11:07 PM

    Hi Arnaud,

    This is possible with XQuery.

    Do you use XQuery? In this case you can just make a composition in your own query statement.

    Regards

    Houman Khorasani
    University of Wisconsin Platteville


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


  • 3.  RE: executing two queries sequentially

    Posted Mon May 24, 2004 11:29 PM

    Yes, I am using XQuery.
    1. it is true you can do it in XQuery but I would like to have to distinct queries executed in a row.
    2. when I have tried chaining the two queries in XQuery, the intermediate results gets a new namespace and the second query returns empty.

    regards,

    Arnaud


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


  • 4.  RE: executing two queries sequentially

    Posted Wed May 26, 2004 12:28 AM



    I am not sure if this is possible.

    I recommend to post this mesage in the XQuery section. They might know it better.

    http://tamino.forums.softwareag.com/viewforum.php?f=3

    Regards

    Houman Khorasani
    University of Wisconsin Platteville


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