getReportService( ).runAndRenderReport( designHandle, outputDocName, options, params, out, new ArrayList( ) );
getReportService( ).runAndRenderReport( reportDesignHandle, outputDocName, options, params, out, new ArrayList( ) );
	protected void __execute( ) throws RemoteException	{		ViewerAttributeBean attrBean = ( ViewerAttributeBean ) context				.getBean( );		String format = ParameterAccessor.getFormat( context.getRequest( ) );		Locale locale = attrBean.getLocale( );		boolean master = attrBean.isMasterPageContent( );		Map params = attrBean.getParameters( );		boolean svgFlag = ParameterAccessor.getSVGFlag( context.getRequest( ) );		String reportDesignName = attrBean.getReportDesignName( );		String outputDocName = attrBean.getReportDocumentName( );		InputOptions options = new InputOptions( );		options.setOption( InputOptions.OPT_REQUEST, context.getRequest( ) );		options.setOption( InputOptions.OPT_LOCALE, locale );		options.setOption( InputOptions.OPT_RTL, new Boolean( attrBean.isRtl( ) ) );		options.setOption( InputOptions.OPT_IS_MASTER_PAGE_CONTENT,				new Boolean( master ) );		options.setOption( InputOptions.OPT_SVG_FLAG, new Boolean( svgFlag ) );		options.setOption( InputOptions.OPT_FORMAT, format );		options.setOption( InputOptions.OPT_IS_DESIGNER, new Boolean( attrBean				.isDesigner( ) ) );		// TODO: What about content type?		IViewerReportDesignHandle designHandle = new BirtViewerReportDesignHandle(				null, reportDesignName );		try		{			ServletOutputStream out = context.getResponse( ).getOutputStream( );			getReportService( ).runAndRenderReport( designHandle, outputDocName, options,					params, out, new ArrayList( ) );		}		catch ( IOException e )		{			// TODO: Maybe not catch IOException here...			throwAxisFault( e );		}		catch ( ReportServiceException e )		{			throwAxisFault( e );		}	}