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
  • 1.  directcommand dynamic query ?

    Posted Mon April 22, 2002 09:03 PM

    hi,

    Suppose we have
    <bdm:directcommand type=“query” schema=“Property” queryparm="/entry/date_added > ‘???’ " />

    is it possible to have the ??? be dynamic that is be setup by a jsp variable. i did try querparam=“USEBODY”
    and then jsp var initialized with todays date, it did not work. Like my previous posting in the same i find trouble some to get values in/out to/from jsp variables and tag library variables.

    Is there any advice.

    regards.
    Amit



    X-Application Version: 3.1.2, 3.1.1
    Tamino Version : 3.1.1
    Platform : NT, Win2k, Solaris, …
    WebContainer : Tomcat 3.3
    JDK Version : 1.3.1


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: directcommand dynamic query ?

    Posted Tue April 23, 2002 03:38 PM

    Hello Amit,

    I had expected that the using ‘USEBODY’ would be the solution for your requirement. To support you for this problem it would be very helpful for us if you could post your JSP page as example to the community.

    Is it possible?

    Thanks,
    Christian.


    #Tamino
    #API-Management
    #webMethods


  • 3.  RE: directcommand dynamic query ?

    Posted Tue April 23, 2002 04:06 PM

    thanks here is what i am trying to do,

    <% String lastvisited = “'”+“2002-01-01”+“'”;
    %>

    <bdm:form module=“bdProp”>
    <bdm:directcommand type=“query” schema=“entry” queryparm=“USEBODY”>
    /entry/date_added > lastvisited
    </bdm:directcommand>

    Is this the right way of doing it ?

    Thanks for all your help
    Amit


    #Tamino
    #API-Management
    #webMethods


  • 4.  RE: directcommand dynamic query ?

    Posted Tue April 23, 2002 04:32 PM

    I thing you have to enclose lastvisited in
    <%= … %> like this:

    <bdm:form module=“bdProp”>
    <bdm:directcommand type=“query” schema=“entry” queryparm=“USEBODY”>
    /entry/date_added > <%= lastvisited %>
    </bdm:directcommand>


    Michael

    Software AG Germany, Darmstadt


    #API-Management
    #Tamino
    #webMethods


  • 5.  RE: directcommand dynamic query ?

    Posted Tue April 23, 2002 04:38 PM

    Michael ,
    oh my mistake, thanks for correcting this, i am using the tag libraries for the first time, never knew i could use <%=%> inside a tag.

    Thanks a lot, appreciate your time
    amit


    #webMethods
    #Tamino
    #API-Management