Hi,
I am invoking Java Server method from my customised component. On running it's giving me the error:
DfException:: THREAD: http-8080-4; MSG: [DM_METHOD_E_UNKNOWN_METHOD]error: "The dm_method named () is not defined. Please check the name of the method."; ERRORCODE: 100; NEXT: null
I am using idfsession.apply() to invoke the method and this is how it looks. I feel there is something wrong with the usage of apply method here in the code.
Please suggest/advice.
IDfList listArgs = new DfList();
IDfList listDataType = new DfList();
IDfList listValues = new DfList();
listArgs.appendString("method");
listArgs.appendString("launch_async");
listArgs.appendString("launch_direct");
listArgs.appendString("run_as_server");
listArgs.appendString("arguments");
listDataType.appendString("S");
listDataType.appendString("B");
listDataType.appendString("B");
listDataType.appendString("B");
listDataType.appendString("S");
listValues.appendString("CustomMethod");
listValues.appendString("F");
listValues.appendString("T");
listValues.appendString("T");
listValues.appendString(""+strLoggedUsername+"");
collection = session.apply(strObjectId, "DO_METHOD", listArgs, listDataType, listValues);