objectJS.wrapperFunc[method] = function() {
var result;
var methodId = arguments[0];
+ var callDict = {};
+ // affectation of callDict in eval, otherwise dictionary(='{}') interpreted as block of code by eval
+ eval("callDict = " + arguments[1]);
try {
- // affectation of callDict in eval, otherwise dictionary(='{}') interpreted as block of code by eval
- eval("var callDict = " + arguments[1]);
result = funcToCall.apply(objectJS, callDict.args);
service._returnMethod(methodId, callDict.callIndex, true, result);
}