Thanks for the info, but it seems I wasn’t specific enough.
I’ve read that part and concluded that an flwru query would suit mu needs best. I’ve also learned that It could be incorporated in an .vbs file, using a MSXML-object.
But, I’m not exactly sure how the syntax should be.
Someone gave me the following sample code and told me I could use this as an starting point. But I’m not sure how I could use this to get my xquery executed.
[sample code]
Set httpReq = CreateObject(“MSXML2.XMLHTTP”)
’ CHANGE ReqUrl if necessary
ReqUrl = “http://sduwebp01:8880/tamino/SDU/abonnement?_delete=abonnement[@ino:docname=‘Something.XML’]”
httpReq.open “Get”, ReqUrl,false
’ set headers
httpReq.setRequestHeader “Accept-Language”,“en”
httpReq.setRequestHeader “Accept-Charset”,“utf-8”
httpReq.send “”
’ Check http status
If httpReq.status >= 300 then
WScript.Echo “http error:” & httpReq.statusText
Wscript.Quit 1
End If
’ Http request OK. Has Tamino raised an error?
response = httpreq.responseText
If InStr(response, “ino:returnvalue=”“8300"”“) > 0 Then ’ record not found. Not really an error!
WScript.Echo “Document not found”
Wscript.Quit 2
ElseIf InStr(httpreq.responseText, “ino:returnvalue=”“0"””) > 0 Then ’ Document deleted = OK!
WScriptEcho = “Document deleted”
’ WScript.Echo “Document deleted”
Else ’ Something else - a real error
WScript.Echo “Tamino exception raised” & vbcrlf & response
Wscript.Quit 3
End If
[/sample code]
Actually in short : How can I execute a flwu query through MSXML ?
[This message was edited by Ni3L50L on 16 February 2005 at 8:40.]
#webMethods#API-Management#Tamino