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.  Schema retreiving

    Posted Tue January 08, 2002 03:25 PM

    Hello!

    Is it possible to retreive a schema using Java API?

    Something like yhis:

    <?xml version="1.0"?>
    <ino:collection ino:name=“Property” ino:key=“id0000000180”>
    <ino:doctype ino:name=“Property” ino:key=“ID_Property” ino:options=“READ INSERT UPDATE DELETE” ino:structure-index=“CONDENSED”>
    <ino:node ino:name=“Property” ino:key=“Property2” ino:obj-type=“SEQ” ino:parent=“ID_Property” ino:search-type=“no” ino:map-type=“SxsFunc” ino:sxsexternal-parseafter=“TaminoSocket.addProcessLog” ino:sxsexternal-ondelete=“TaminoSocket.addDeleteLog”/>
    <ino:node ino:name=“PropertyReference” ino:key=“Property3” ino:obj-type=“CDATA” ino:parent=“Property2” ino:search-type=“text” ino:map-type=“No”/>


    Is it possible to modify it without using define/undefine?

    Thank you.


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


  • 2.  RE: Schema retreiving

    Posted Wed January 09, 2002 09:37 AM

    To retrieve schemas, just enter following query in your browser:
    http://yourserver/tamino/yourdb/ino:collection?_xql=/ino:collection

    For the Java API that means you use the collection “ino:collection” and fire the query “/ino:collection”.

    Hiran


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


  • 3.  RE: Schema retreiving

    Posted Thu January 10, 2002 08:20 AM

    Hi!Thanks.

    Can I retreive the database name using query?
    (Or how can I retreive database name -or db url- in server extensions?)

    Thank you.


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


  • 4.  RE: Schema retreiving

    Posted Thu January 10, 2002 02:30 PM

    You cannot retrieve the database url in server extensions. The reason is that it is possible to access the same database through different webservers. See the documentation about that.

    To make it possible for server extensions to store something inside the tamino database that called the SXS, you must use the callback API. See documentation on server extensions here.

    Hiran


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