public String[] getArray(int[] intarr, String[] strarr) { NewTransferObject to = transferObjectFactory.createNewTransferObject(); to.setCalleeClass("com.qileyuan.tatala.example.proxy.NewToServerProxy"); to.setCalleeMethod("getArray"); to.registerReturnType(TransferObject.DATATYPE_STRINGARRAY); to.putIntArray(intarr); to.putStringArray(strarr); Object resultObj = ServerExecutor.execute(to); String[] result = (String[])resultObj; return(result); }