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.  8316

    Posted 03/12/03 01:03 PM

    With the query
    /AccessList[@userID=“sip:a.dellarmi@elis.org”]/instance[watcher=“sip:spam@tiscali.it”]

    i get
    <?xml version="1.0" encoding="windows-1252" ?>
    - <ino:response xmlns:ino=“http://namespaces.softwareag.com/tamino/response2” xmlns:xql=“XQL FAQ (XML Query Language - Frequently Asked Questions)”>
    - <ino:message ino:returnvalue=“8316”>
    <ino:messagetext ino:code=“INOXIE8316”>Attempted to delete a partial document</ino:messagetext>
    </ino:message>
    </ino:response>
    Doesn’t Tamino 4.1 support partial delete of document?
    acl.xml (1.8 KB)


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: 8316

    Posted 03/12/03 03:14 PM

    You can delete parts of a document with XQuery-Update feature of the Tamino v4; so the answer to the latter part is yes. However you cannot perform partial document deletion with the _delete command and the type of query you have specified; _delete only deletes whole documents.

    Hope this helps.

    Stuart Fyffe-Collins
    Software AG (UK) Ltd.


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: 8316

    Posted 03/12/03 03:30 PM

    How can i use XQuery-Update to delete the watcher element via TII, and via java code (accessor.delete?)

    Regards,
    @nto


    #Tamino
    #webMethods
    #API-Management


  • 4.  RE: 8316

    Posted 03/12/03 04:30 PM

    Via java you would use accessor.xquery() method. The xquery would contain the XQuery-Update expression to be performed. For more information on XQuery-Update please refer to documenation, especially the FLWUExpr syntax construct.

    Stuart Fyffe-Collins
    Software AG (UK) Ltd.


    #Tamino
    #API-Management
    #webMethods


  • 5.  RE: 8316

    Posted 03/13/03 09:12 AM

    I lost myself in the documentation.
    Where can i study the method xquery?
    Is there same java code examples of it?

    Regards,
    @nto


    #Tamino
    #webMethods
    #API-Management


  • 6.  RE: 8316

    Posted 03/13/03 09:14 AM

    Sorry,
    i hadn’t yet read the Trevor’s post here.

    @nto


    #webMethods
    #API-Management
    #Tamino