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

Loop problem in X-Application

  • 1.  Loop problem in X-Application

    Posted 06/05/02 10:53 AM

    X-Application Version: 3.1.2
    Tamino Version : 3.1.1
    Platform : Solaris, …
    WebContainer : Tomcat 4.0.2
    JDK Version : 1.4

    I have an application with the following code

    <%@ page language=“java” contentType=“text/html; charset=UTF-8” %>
    <%@ taglib uri=“404” prefix=“bdm” %>


    Loop Test


    <bdm:module id=“bdProp”>
    <bdm:form module=“bdProp”>
    <bdm:directcommand type=“query” schema=“dc” queryparm=“BElement~=‘*’” />
    </bdm:form>


    <bdm:browse module=“bdProp”>
    <bdm:loop module=“bdProp” select=“/dc” iterate=“AAElement” targetbase=“AAElements”>



    </bdm:loop>
    </bdm:browse>
    <bdm:display select=“AAAElement” />

    </bdm:module>



    The data file contains



    AAA1


    AAA2


    AAA3

    B1
    B2



    uuu1


    uuu2


    uuu3




    I find that the page only return
    AAA1
    AAA2
    AAA3

    but not uuu1, uuu2 and uuu3
    Does anyone know why?


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: Loop problem in X-Application

    Posted 06/05/02 11:24 AM

    Hello,

    the second document of your list is not displayed because it does not match the query. When executing the directcommand tag, X-Application sends the following XQL expression to Tamino

    /dc[BElement~='']

    Document without BElement are not found. If you want to list all documents you could use the following expression within the queryparm attribute

    .~=?
    ?

    Bye,
    Christian.


    #webMethods
    #Tamino
    #API-Management


  • 3.  RE: Loop problem in X-Application

    Posted 06/06/02 04:19 AM