![]() | ![]() | ![]() | ![]() |
SAS Web Report Studio enables you to view reports that are created using SAS Enterprise Guide. The ability to publish reports to SAS Web Report Studio is not enabled by default, so this sample first shows you how to enable the publishing functionality, and then explains how to publish a simple report. Typically, enabling publishing has to be done only once.
As the input table for the report, this sample uses the SHOES table, which is one of the sample tables included with SAS.
LoadDefaultPreferences.sas, which is provided with SAS Web Report Studio. Typically, this program is executed as part of installing your SAS BI Environment. For more information, see "Installing Metadata" in the deployment.html file, located in the SAS Web Report Studio installation directory. The SAS profile centrally stores information that all of your SAS Enterprise Guide installations need in order to interact with your SAS Web Report Studio installation.

SAS must be all uppercase.
The definitions file contains the values that will be used as input to the configureReportWebServicesScripts script.
definitions.txt in the SAS Web Report Studio installation directory. On Windows, this location is typically C:\Program Files\SAS\SASWebReportStudio\3.1.Note: The default port for WebLogic is 7001. The default port for WebSphere is 9080.
SASWebReportStudio.In this sample, the definitions.txt file contains the following content:
$WRS_URL_MACHINE$=abc.corp.com
$WRS_URL_PORT$=8080
$WRS_URL_ROOT$=SASWebReportStudio
|
configureReportWebServicesScripts by specifying the definitions.txt file that you created previously.
Below is the output from a successfully executed script. The script creates another script named enableReportWebServices.
In the output, double check that the name of the definitions.txt file is spelled correctly. If it is not, then correct the spelling error and execute the script again.
enableReportWebServices. Below is the output from a successfully executed script.
If you see the error Exception::(401) Unauthorized, follow the instructions in SAS Note 32022. If you see a NullPointerException, follow the instructions in SAS Note 32240.
enableReportWebServices in a text editor.http://<machine name>:<port>/SASWebReportStudio/servlet/AxisServlet. Submit this URL in your browser. It should take you to a valid Web page with three services listed: Admin, Version, and ReportRepositoryWebService.
If the URL is not valid, then there is likely an incorrect value in your definitions.txt file.
http://abc.corp.com:8080/SASWebReportStudio.
You must log on and off at least once before attempting to publish a report. You cannot use localhost for this step.
If you see an error message that publishing is not enabled, refer to the instructions in SAS Note 18324.
To see how the report looks in SAS Web Report Studio, click the Results tab at the top of this sample.
For instructions for enabling Report Web services, see the deployment.html file, located in the SAS Web Report Studio installation directory.
For a list of available documentation for SAS Web Report Studio, see http://support.sas.com/documentation/onlinedoc/wrs/index.html
For a list of available documentation for SAS Enterprise Guide, see http://support.sas.com/documentation/onlinedoc/guide/
These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.
These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.
Sales of Shoes in 2007. Notice that the keywords that were entered in the Publishing wizard are displayed with the report.
| Type: | Sample |
| Topic: | Query and Reporting Software Components ==> SMC Plug-in |
| Date Modified: | 2008-05-28 09:06:02 |
| Date Created: | 2008-03-06 08:50:42 |
| Product Family | Product | Host | Starting Release | Ending Release |
| SAS System | SAS Web Report Studio | Microsoft® Windows® for x64 | 3.1 | |
| Microsoft Windows 2000 Advanced Server | 3.1 | |||
| Microsoft Windows 2000 Datacenter Server | 3.1 | |||
| Microsoft Windows 2000 Server | 3.1 | |||
| Microsoft Windows 2000 Professional | 3.1 | |||
| Microsoft Windows NT Workstation | 3.1 | |||
| Microsoft Windows Server 2003 Datacenter Edition | 3.1 | |||
| Microsoft Windows Server 2003 Enterprise Edition | 3.1 | |||
| Microsoft Windows Server 2003 Standard Edition | 3.1 | |||
| Microsoft Windows XP Professional | 3.1 | |||
| Windows Vista | 3.1 | |||
| 64-bit Enabled AIX | 3.1 | |||
| 64-bit Enabled Solaris | 3.1 | |||
| HP-UX IPF | 3.1 | |||
| SAS System | SAS Enterprise Guide | Microsoft® Windows® for x64 | 4.1 | |
| Microsoft Windows 2000 Advanced Server | 4.1 | |||
| Microsoft Windows 2000 Datacenter Server | 4.1 | |||
| Microsoft Windows 2000 Server | 4.1 | |||
| Microsoft Windows 2000 Professional | 4.1 | |||
| Microsoft Windows NT Workstation | 4.1 | |||
| Microsoft Windows Server 2003 Datacenter Edition | 4.1 | |||
| Microsoft Windows Server 2003 Enterprise Edition | 4.1 | |||
| Microsoft Windows Server 2003 Standard Edition | 4.1 | |||
| Microsoft Windows XP Professional | 4.1 | |||
| Windows Vista | 4.1 |




