public static String create(Connection c, Details d) throws XmlRpcException { Object[] params = {d.toJson()}; String res = (String) c.call("OvmNetwork.createVlan", params); Details ret = Coder.fromJson(res, Details.class); return ret.name; }