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.  XQuery update problems

    Posted Fri March 28, 2003 11:38 AM

    Hi all,

    I’m trying to work with XQuery from Tamino Interative Interface.

    I’m working with the books example, and if I try to do a query I get the information I ask for, but if I try to make an update, just as simple as to insert a new book on the bib list, I get an error.

    This is the XQuery I try to execute:

    update insert

    TCP/IP Illustrated

    Stevens
    W.

    Addison-Wesley
    65.95

    into input()/bib

    And this is the message that Tamino Interactive Interface returns me:

    <?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)”>
    - <xq:query xmlns:xq=“http://namespaces.softwareag.com/tamino/XQuery/result”>
    - <![CDATA[
    update insert

    TCP/IP Illustrated

    Stevens
    W.

    Addison-Wesley
    65.95

    into input()/bib

    ]]>
    </xq:query>
    - <ino:message ino:returnvalue=“8552”>
    <ino:messagetext ino:code=“INOXME8552”>Not a valid request</ino:messagetext>
    ino:messagelineIt is not possible to open a cursor with XQuery Update Request.</ino:messageline>
    </ino:message>
    </ino:response>

    Could you help me with that?

    Thank you in advanced,

    No


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


  • 2.  RE: XQuery update problems

    Posted Fri March 28, 2003 02:19 PM

    If using the TII you need to blank the “Pos. in Result” and “Result Size” fields if you issue XQuery-Update expressions.

    Stuart Fyffe-Collins
    Software AG (UK) Ltd.


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