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

XML Query for Identifying SenderID in Trading Networks

  • 1.  XML Query for Identifying SenderID in Trading Networks

    Posted Wed February 08, 2006 11:43 AM

    Hi All,
    I am receiving an XML in Trading Network(TN) which can have two or one “from” credentials. I have to always choose the last credential. So I need the way to write an XML Query in TN, in which I can count number of “from” credentials and substract it with 1 so that I can extract the last credential.
    For eg: Suppose there are 3(count=3) “from” credentials coming in. Then they will be at array position [0],[1] and [2]. I want to extract [count-1] value, which will be [3-1]=[2] array.
    Please reply to me if you have any solution.
    My id is mayuresh_krishna@hotmail.com


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 2.  RE: XML Query for Identifying SenderID in Trading Networks

    Posted Thu February 09, 2006 02:31 PM

    Mayuresh,

    Take a look at the “webMethods Trading Networks Users Guide.” There is a chapter there called “XQL Reference,” which you should find helpful. It sounds like what you’re interested in is the end() function.

    • Percio

    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB