webMethods

webMethods

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
Expand all | Collapse all

argbatch: show schema list (doctype)

  • 1.  argbatch: show schema list (doctype)

    Posted Fri February 01, 2008 05:22 AM

    Hi.
    I want to show schema(doctype) list by argbatch.(don’t use SMH)
    But I don’t know that command.

    Please help me.


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: argbatch: show schema list (doctype)

    Posted Fri February 01, 2008 08:56 AM

    Hi,

    unfortunately there is no such argbatch command.
    However, you can get the doctypes via XQuery. Using a command line tool to resolve http requests (e.g. Lynx), you can evaluate e.g. the following expression
    http://localhost/tamino/welcome_4_4_1?_xquery={?serialization%20method=‘xml’?}for%20$i%20in%20collection(‘ino:collection’
    )/:schema//:doctype%20return%20{string($i/@name)}

    Hope this helps

    Harald


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: argbatch: show schema list (doctype)

    Posted Fri February 01, 2008 09:06 AM

    Thank you very much!!
    I will try.


    #API-Management
    #Tamino
    #webMethods