YKPN#40909 -- Foutmeldingen T&V koppeling
svn path=/Website/branches/v2017.1/; revision=34313
This commit is contained in:
@@ -86,6 +86,7 @@ try {
|
||||
+ " FROM ykpn_v_vc_gegevens "
|
||||
+ " WHERE last_upd > last_sync "
|
||||
+ " AND last_upd < SYSDATE - 1/96 " // we wachten een kwartier na de laatste update
|
||||
+ " AND aantal > 1 "
|
||||
+ " GROUP BY res_reservering_key "
|
||||
+ " ORDER BY res_reservering_key";
|
||||
WScript.Echo("SQL reservering = " + sql);
|
||||
@@ -205,7 +206,9 @@ try {
|
||||
);
|
||||
|
||||
objXMLHTTP.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
|
||||
objXMLHTTP.setRequestHeader ("SOAPAction", "http://tempuri.org/" + v_type);
|
||||
v_action = "http://tempuri.org/" + v_type;
|
||||
WScript.Echo("Action = " + v_action);
|
||||
objXMLHTTP.setRequestHeader ("SOAPAction", v_action);
|
||||
objXMLHTTP.setRequestHeader ("Cookie", v_cookie);
|
||||
WScript.Echo("Cookie = " + v_cookie);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user