jsonReq = new JSONObject(data.toString());
String method = jsonReq.getString("method");
if ((method != null) && (method.indexOf('.') < 0)) {
jsonReq.putOpt("method", serviceName + "." + method);
}
jsonResp = jsonrpcBridge.call(new Object[] {request}, jsonReq);
} catch (ParseException e) {
throw new RuntimeException("Unable to parse request", e);
}
byte[] bout = jsonResp.toString().getBytes("UTF-8");