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.  queryng schemas from command line

    Posted Fri May 18, 2007 06:14 PM

    Hello all

    I’d like to retrieve all defined schemas from out Tamino database. I know, I can do it with the Schema Editor, but I need to do it from the command line.

    X-Machine interface would be fine, but I just couldn’t find the proper syntax.

    Thank you in advance


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: queryng schemas from command line

    Posted Sat May 19, 2007 08:31 AM

    Hi,

    if you are ready to issue XMachine requests via your command line interface, you may use e.g. the following XQuery:

    declare namespace tsd=“http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition
    for $s in collection(“ino:collection”)/xs:schema
    let $si:=$s/xs:annotation/xs:appinfo/tsd:schemaInfo
    where $si/tsd:collection/@name = “myColl”
    and $si/tsd:doctype/@name=“myDoctype”
    return $s

    Regards
    Uli


    #Tamino
    #API-Management
    #webMethods


  • 3.  RE: queryng schemas from command line

    Posted Mon May 21, 2007 10:46 AM

    Hi,

    with the data loader you also can unload schemas:
    inoload -function unloadschema …

    Regards,
    Reiner


    #webMethods
    #Tamino
    #API-Management