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.  Cursor operation example

    Posted 07/09/02 06:34 PM

    Hi,

    Is there someone who have tried to use the openCursor, fetchCursor and closeCursor methods?
    I am looking for some examples so that I can handle the quantity and result position.

    Thanks,

    Tony


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


  • 2.  RE: Cursor operation example

    Posted 07/10/02 04:13 PM

    The openCursor(), fetchCursor() methods are part of the TStreamAccessor interface. If this what you need to do because for each individual set of results you would have to process it yourself.

    If you want things in a DOM representation for example you can use TXMLObjectAccessor.Query(TQuery, int) method. Because this uses the new cursoring mechanism you must be within a local transaction context (and this is the same with TStreamAccessor as well). From the TResponse object you can get a TXMLObjectIterator and then use next(), prev() and moveBy().

    Does this help?


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


  • 3.  RE: Cursor operation example

    Posted 07/10/02 05:53 PM