BaseAttributeBean attrBean = ( BaseAttributeBean ) context.getBean( ); String docName = attrBean.getReportDocumentName( );
BaseAttributeBean attrBean = (BaseAttributeBean) context.getBean( ); __docName = attrBean.getReportDocumentName( ); __checkDocumentExists( );
	protected void __execute( ) throws Exception	{		BaseAttributeBean attrBean = ( BaseAttributeBean ) context.getBean( );		String docName = attrBean.getReportDocumentName( );		List exportedResultSets;		String instanceID = operation.getTarget().getId();		InputOptions options = new InputOptions( );		options.setOption( InputOptions.OPT_REQUEST, context.getRequest( ) );		//exportedResultSets = getReportService( ).getResultSetsMetadata(			//	docName, options );				if(instanceID.equals("Document")) //$NON-NLS-1$			exportedResultSets = getReportService( ).getResultSetsMetadata(					docName, options );		else			exportedResultSets = getReportService( ).getResultSetsMetadata(					docName, instanceID, options ); 		if ( exportedResultSets == null )		{			// No result sets available			AxisFault fault = new AxisFault( );			fault.setFaultReason( "no result sets available." ); //$NON-NLS-1$			throw fault;		}		ResultSet[] resultSetArray = getResultSetArray( exportedResultSets );		ResultSets resultSets = new ResultSets( );		resultSets.setResultSet( resultSetArray );		handleUpdate( resultSets );	}