Elements of the WebFOCUS API Sample Application

The WebFOCUS API sample Web application illustrates how to use the WebFOCUS API to do the following:

To run the sample application:

  1. Navigate to the \ibi\WebFOCUS77\samples\webapps\wfapi\WEB-INF directory and open the web.xml file in an editor.
  2. Point the webfocus_client_root parameter to the full path of the \ibi\WebfOCUS77\client\wfc directory.
  3. Create a context root in your Application Server that will be assigned to the sample application (for example, \wfapi). The context root should point to the \ibi\WebFOCUS77\samples\webapps\wfapi directory.

After the sample application is deployed properly, you can access its home page using the following URL:

http://localhost/context_root/

The welcome page opens.

Before running a request, valid WebFOCUS Reporting Server credentials must be provided. To run Managed Reporting requests, the Integrate with Managed Reporting check box should be selected. The sample Web application then uses the user ID specified to authenticate against the Managed Reporting repository.

After proper credentials are supplied, the main page with the available options appears.


WebFOCUS