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.  _duration=on

    Posted Mon April 10, 2006 11:33 PM

    How i can use _duration with query too long, i tried update a whole document
    in XQuery:
    update for $a in input()/ficha where $a[@identificador=1] do replace $a with


    Juan
    Jose
    Perez
    Soto
    M
    15-11-1979
    Los Alarces s/n
    Valdivia
    10
    Chile

    but how use _duration=on here, exist some function ?

    making the query to web
    http://localhost/tamino/xml/Estudiantes1010?_XQUERY=update+for+$a+in+input()/ficha+where+$a[@identificador=1]+do+replace+$a+with+++Juan+Jose+Perez+Soto+M+15-11-1979+Los Alarces s/n+Valdivia+10+Chile++&_duration=on

    the response is :

    <?xml version="1.0" encoding="ISO-8859-1" ?>

    and the update is not working, in the XQuery works but when i want know the time of response not work?

    i use tamino 4.2.1.8 on windows 2000 afdvanced server


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: _duration=on

    Posted Thu April 13, 2006 10:16 AM

    Hi,

    you can change the order of the _xquery and the _duration command in the HTTP request. This means you should state first the _duration and then the _xquery command.

    Best Regards,

    Thorsten


    #Tamino
    #API-Management
    #webMethods