public static com.liferay.portal.model.PhoneSoap getPhone(long phoneId) throws RemoteException {
    try {
      com.liferay.portal.model.Phone returnValue = PhoneServiceUtil.getPhone(phoneId);

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

      throw new RemoteException(e.getMessage());
    }
  }
  public static com.liferay.portal.model.PhoneSoap updatePhone(
      long phoneId,
      java.lang.String number,
      java.lang.String extension,
      int typeId,
      boolean primary)
      throws RemoteException {
    try {
      com.liferay.portal.model.Phone returnValue =
          PhoneServiceUtil.updatePhone(phoneId, number, extension, typeId, primary);

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

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