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

    Posted Mon February 17, 2003 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 Tue February 18, 2003 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 Mon February 24, 2003 09:12 AM

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

    Marco Loprete


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