The example does a query then does multiple updates using the process method.
If you want an example on an update WITHOUT doing a query first. - how about this
var dbname=“http://localhost/tamino/mydb/Telephone”;
var dom = new ActiveXObject(“Microsoft.DOM”);
dom.loadXML(“<a/”> ); //very simple document
var client=new TaminoClient(dbname);
var r=client.process(dom);
if (r.errorNo)
alert(r.errorText);
or
var inoid=1234;
var r=client.update(dom,inoid);
if (r.errorNo)
alert(r.errorText);
I am getting anywhere with this?
#webMethods#webMethods-Tamino-XML-Server-APIs#API-Management