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.  Problem with "getId()"

    Posted Fri March 11, 2005 07:53 AM

    Hello,

    I have problem which I think is weird!

    The getId() function returns an empty string (not null either). I applied XQuery to retrieve a full document and tried to getId() from the result.

    Is this a very common problem? Are there any limitations like this when the results are obtained using XQuery?

    Thanks in anticipation.

    Best regards,
    Gopal.


    #API-Management
    #webMethods-Tamino-XML-Server-APIs
    #webMethods


  • 2.  RE: Problem with "getId()"

    Posted Fri March 11, 2005 08:43 AM

    Hi Gopal,
    getId() return ino:id. And Tamino doen’t return ino:id if you are using XQuery. It returns ino:id in the response only if you are using X-Query.

    In short if you use accessor.xquery() method to retrieve document from tamino you won’t get ino:id and thats why you get empty string when you call getId().

    You will be able to get ino:id if you use accessor.query() method to retrieve document.

    Hope this clarify your doubt.

    Best Regards,

    Vikram

    Vikram Shinde


    #webMethods-Tamino-XML-Server-APIs
    #API-Management
    #webMethods


  • 3.  RE: Problem with "getId()"

    Posted Fri March 11, 2005 01:43 PM


  • 4.  RE: Problem with "getId()"

    Posted Thu August 04, 2005 10:36 PM

    I used this to get ino:id again

    [color=“green”]
    declare namespace
    tf = ‘http://namespaces.softwareag.com/tamino/TaminoFunction

    for $q in input()/SomeSchema
    return

    {$q}

    [/color]

    Do you know some easier way to do it?
    Yours

    Joe


    #webMethods-Tamino-XML-Server-APIs
    #webMethods
    #API-Management


  • 5.  RE: Problem with "getId()"

    Posted Mon October 10, 2005 10:10 AM

    Hi i’ve the some problem with ino:id and ino:docname. I think they maybe related. Is this applicable also to ino:docname?


    #webMethods-Tamino-XML-Server-APIs
    #webMethods
    #API-Management