|
|
|
@ -95,10 +95,10 @@ var invokers = function () {
|
|
|
|
|
log.debug("Service Invoker-URL: " + endpoint);
|
|
|
|
|
log.debug("Service Invoker-Method: " + httpMethod);
|
|
|
|
|
|
|
|
|
|
log.info("Request : " + httpMethod + " " + endpoint);
|
|
|
|
|
log.info("Request payload if any : " + stringify(requestPayload));
|
|
|
|
|
log.info("Response status : " + xmlHttpRequest.status);
|
|
|
|
|
log.info("Response payload if any : " + xmlHttpRequest.responseText);
|
|
|
|
|
// log.info("Request : " + httpMethod + " " + endpoint);
|
|
|
|
|
// log.info("Request payload if any : " + stringify(requestPayload));
|
|
|
|
|
// log.info("Response status : " + xmlHttpRequest.status);
|
|
|
|
|
// log.info("Response payload if any : " + xmlHttpRequest.responseText);
|
|
|
|
|
|
|
|
|
|
if (xmlHttpRequest.status == 401 && (xmlHttpRequest.responseText == TOKEN_EXPIRED ||
|
|
|
|
|
xmlHttpRequest.responseText == TOKEN_INVALID ) && count < 5) {
|
|
|
|
|