public static com.liferay.portal.model.PhoneSoap[] getPhones(
      java.lang.String className, long classPK) throws RemoteException {
    try {
      java.util.List<com.liferay.portal.model.Phone> returnValue =
          PhoneServiceUtil.getPhones(className, classPK);

      return com.liferay.portal.model.PhoneSoap.toSoapModels(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }