try {
Method method = serviceIntf.getMethod(serviceMethodName, parameterTypes);
Object[] parameterValues = new Object[parameterTypes.length];
for (int i = 0; i < parameterValues.length; i++) {
parameterValues[i] = streamReader.deserializeValue(parameterTypes[i]);
}
return new RPCRequest(method, parameterValues, rpcToken,
serializationPolicy, streamReader.getFlags());