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.  Show collections

    Posted 02/17/03 05:15 PM

    Hi!

    Is there a way to get a list with all collections from a DB? And a list with all doctypes?

    Thanx!

    Marco


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


  • 2.  RE: Show collections

    Posted 02/18/03 09:34 AM

    Hi Marco,

    With the ActiveX API you can simply query the ino:collection collection for tsd:schema documents. Each schema contains a tsd:schemaInfo element and this has children tsd:collection and tsd:doctype elements each containing a name attribute (the name of the collection and doctype resp.) So a query such as :

    http://localhost/tamino/mydb/ino:collection?_XQL=/xs:schema/xs:annotation/xs:appinfo/tsd:schemaInfo

    will get all schemas in the mydb database. You can process the information with DOM methods.

    Hope this helps.

    Stuart Fyffe-Collins
    Software AG (UK) Ltd.


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


  • 3.  RE: Show collections

    Posted 02/24/03 09:12 AM

    :slight_smile: Many thanks! This is exactly what I need!

    Marco Loprete


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