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.  using input() function

    Posted 05/25/04 01:47 PM

    hi,

    I am working with Tamino 4.1.4 using welcome_4_1_4 database, collection: RealEstate doctypes:property,person

    i observed some strange behavour with input() function, here it is, consider

    Case1:

    For $p in input()
    Return $p

    It is giving the results of all ?Property? instances and ?person? instances.

    Case2:

    For $p in input()
    Where $p//city = ?Tillamook?
    Return $p

    It is giving the results satisfying the condition only from ?property? instances even though there are instances of ?person? satisfying the condition.

    By Observing the Case1, Case2 It is strange to see that when we apply condition for selection it is considering only the ?property? instances. But there are some instances of Person which are satisfying the condition $p//city = ?Tillamook?, which is clear from the following Xquery result

    For $p in input() /person
    Where $p//city=?Tillamook?
    Return $p

    how’z this strange behaviour of input()???

    Can anyone explain me this?


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: using input() function

    Posted 05/27/04 02:14 PM

    Hi,

    There is no change in the definition of the input() function. Unfortunately there seems to be a bug in the implementation.

    Kind regards,

    Thorsten


    #webMethods
    #Tamino
    #API-Management