Call SSRS Report through controller class in ax 2012

To Call SSRS Report through controller class  Go to main method in controller class and write below code to call the report.

  SSRSRPTController   controller;  
   controller = new SSRSRPTController();  
   controller.parmArgs(args);  
   controller.parmReportName(ssrsReportStr(TestReport, report));  
   controller.parmShowDialog(true);  
   controller.startOperation()