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

X-Query (not xquery) in xapplication

  • 1.  X-Query (not xquery) in xapplication

    Posted Thu November 27, 2003 01:59 PM

    X-Application Version: 4.1.1
    Tamino Version : 4.1.1
    Platform : Win2k WebContainer : Tamocat 4.1.1JDK Version : 1.4.1

    Is it possible to do a X-Query (not xquery) in xapplication?

    We have a server extension in Tamino which is a Query Function. This function can only be invoked via an X-Query. I want to invoke the function in my xapplication JSP page and populate one of the elements of my document with the result, but I am unsure whether (or how) to perform the X-Query in the xapplication JSP page.

    Regards
    Elsabe Jacobs


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: X-Query (not xquery) in xapplication

    Posted Thu November 27, 2003 02:41 PM

    Hi Elsabe,

    you can still use X-Query insted of XQuery.

    e.g. have a look on the following tag:

    <xapp:directcommand collection="${xappCollection$}" type="xquery" document="browseList" arg="for $x in input()/Property return $x"/></pre><BR><BR>if you would like to use a similar query in X-Query then you need to change the <B>type</B> of the directcommand from <B>xquery</B> to <B>query</B>.<BR>     <pre class="ip-ubbcode-code-pre"><xapp:directcommand collection="${xappCollection$}" type="query" document="browseList" arg="/Property"/>



    With the other tags also allowing quering it should work accordingly.

    Bye
    Thorsten


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: X-Query (not xquery) in xapplication

    Posted Fri November 28, 2003 08:14 AM

    Thanks for the reply. It works great. I think this should be documented as part of the directcommand documentation. I did look there but it only mentions xquery.

    Thanks
    Elsabe


    #API-Management
    #Tamino
    #webMethods