/**
   * ExecuteReport using the information stored in this class: - jobName - inputFileName -
   * outputFileName
   *
   * @throws RemoteException
   */
  public void executeReport() throws RemoteException {
    com.actuate.schemas.ExecuteReport executeReport = new com.actuate.schemas.ExecuteReport();
    executeReport.setJobName(jobName);
    executeReport.setInputFileName(inputFileName);

    boolean bSaveOutputFile = (!outputFileName.equals(""));
    executeReport.setSaveOutputFile(new Boolean(bSaveOutputFile));
    if (bSaveOutputFile) {
      com.actuate.schemas.NewFile requestedOutputFile = new com.actuate.schemas.NewFile();
      requestedOutputFile.setName(outputFileName);

      executeReport.setRequestedOutputFile(requestedOutputFile);
    }

    com.actuate.schemas.ExecuteReportResponse executeReportResponse =
        proxy.executeReport(executeReport);

    System.out.println("Status " + executeReportResponse.getStatus());
  }