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

DeleteByQuery and ChildNodes

  • 1.  DeleteByQuery and ChildNodes

    Posted Tue November 20, 2001 03:04 PM

    DeleteByQuery is a great method but I have a little problem with it.

    These documents


    some content

    are perfectly listed by the DoQuery-method

    tamino.DoQuery(“mydoc/childnode[@id=‘1’]”,“”).

    But when I try to delete the child nodes with DeleteByQuery

    tamino.DeleteByQuery(“mydoc/childnode[@id=‘1’]”,“”,“”)

    I receive the following response…

    <ino:message ino:returnvalue=“8319”>
    <ino:messagetext ino:code=“INOXIE8319”>Internal error occurred during query processing: unknown request
    </ino:messagetext>
    </ino:message>

    What is wrong?

    Peter


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


  • 2.  RE: DeleteByQuery and ChildNodes

    Posted Wed November 21, 2001 05:52 PM

    Currently you can only delete documents by query
    The “objects of desire” are subnodes.

    You will have to read the documents in delete the bits you don’t want and write them back


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