* Eg: "<referenceName>.<operationName>(arg1, arg2,...);"
*/
protected ScriptBuffer getInvokeFragment(Object[] args, WebContext wctx) {
ScriptBuffer sb = new ScriptBuffer();
sb.appendScript(referenceFunction);
sb.appendScript("(");
if (args != null) {
for (int i = 0; i < args.length; i++) {
sb.appendData(args[i]);
if (i < (args.length - 1)) {