Configuring Adapters and Remote Servers in Developer Studio

In this section:

This chapter focuses primarily on the WebFOCUS Environments, Data Servers area of the Developer Studio Explorer, where you can access data and develop applications directly on a remote WebFOCUS Reporting Server using Developer Studio tools. The chapter describes the graphical tools that enable you to access data and create metadata, as well as several configuration variations that affect your selection and use of these tools.

Project-area options for data access and development are described in the Developer Studio Application Development Getting Started manual. Note that the procedures for accessing data and creating synonyms for use in the Projects and Managed Reporting environments are similar to those described in this chapter for WebFOCUS Environments.

The image below displays the WebFOCUS Environments, Data Servers area of the Developer Studio Object Explorer.

WebFocus Environments, Data Servers area of Developer Studio Object Explorer

The Data Servers area displays each WebFOCUS Reporting Server that the WebFOCUS Client can access and permits development against multiple Reporting Servers, which may be configured on any supported platform.

The Data Servers folder is always accessible from the Developer Studio Object Explorer. The folder lists the applications you have access to and the resources (files) stored in these applications.

The default WebFOCUS Reporting Server (named EDASERVE) is created during installation and displayed in the Data Servers area.

In the previous image, notice that several remote servers have been added. An Applications folder beneath each WebFOCUS Reporting Server displays the directories based on the Application Root directory (APPROOT) for that WebFOCUS Reporting Server (on Windows, drive:\ibi\apps by default). For this example, a server called FLATIRON (UNIX Dev WF Reporting Server) is shown with its Applications folder expanded. Any directory located under APPROOT appears under the Data Servers Applications folder. In addition, you can map an application that is not under APPROOT (but resides elsewhere in the file system) to be accessible as a virtual application. The mapped application is displayed for use, along with the applications that are physically under APPROOT.

The Data Servers area gives you access to the file resources on all WebFOCUS Reporting Servers in your environment. You can create and manage metadata, procedures, HTML files, and WebFOCUS StyleSheets. You can also perform operations on GIF images and other files, such as FOCUS data sources. For organizational purposes, these application files are displayed in virtual folders labeled HTML Files, Maintain Files, Master Files, Other, and Procedures.

Virtual Folders

The virtual folders appear this way by default. However, if you wish, you can hide the virtual folders from the Object Explorer toolbar.

If you are developing applications using a remote WebFOCUS Environment, you must first set up your environment to be able to create synonyms (Master and Access Files) and access the associated data on a remote WebFOCUS Reporting Server. For details on how, when, and where to create this metadata, see Data Access Configuration Variations.


Top of page

x
Configuring the Application Path

How to:

While working in the WebFOCUS Environments area of Developer Studio, you can configure the Application Path for a Reporting Server if you have the required user privileges.



x
Procedure: How to Configure the Application Path
  1. Select the Reporting Server you want to configure from the Data Servers area.
  2. Right-click the Applications folder and select Configure Application Path.

    The Application Path dialog box appears as shown in the following image.

    Application Path dialog box

  3. Select the In Path check box for the Configuration Path you want to set.

    The following options are available in the Application Path dialog box.

    • You can change the Application Path search order by using the arrows to move the selected application up or down.
    • The Preview button displays the syntax of the Application Path statement that will be created.
    • The Test button performs a test against the Application Path and provides file statistics.
  4. Click Save to exit and save changes.

    If APPLOCK is set on the server, the option to configure the Application Path will not be available. In this case, you will only see applications that you are allowed to access. Other commands, such as New Application, Create, Delete, Rename will be disabled.


Top of page

x
Showing Only Applications in Path

How to:

By default, Developer Studio displays all applications available for the Reporting Servers based on Reporting Servers APPROOT directory configuration.



x
Procedure: How to Show Only Applications in Path

You can select to view applications that are only in the Reporting Servers Application Path by selecting a server under the Data Servers area.

  1. Select the Reporting Server you want to configure from the Data Servers area.
  2. Right-click the Applications folder and select Show Applications in Path to see all available applications, as shown in the following image.

    Show Applications in Path option

    If APPLOCK is set on the server, the options to control how applications are displayed are not available. In this case, you will only see applications that you are allowed to access. Other commands, such as New Application, Create, Delete, and Rename will be disabled.


Top of page

x
Data Access Configuration Variations

How to:

If you are working on the platforms served by Developer Studio (UNIX, Windows, OpenVMS, IBM i, and z/OS), you can use the Developer Studio Create Synonym tool to set up access to your data. This process involves configuring adapters, adding remote servers if necessary, and then creating the required synonyms.

Tip: Authorized administrators who prefer to work in a thin-client environment can complete these tasks from the Reporting Server Console, which is accessible from the Developer Studio Object Explorer toolbar. Both approaches edit the same underlying server files, so it does not matter which you use. For more information, see Using the Reporting Server Console for Data Access and Synonym Preparation.



x
Procedure: How to Access the Create Synonym Tool

To launch the Create Synonym tool from the WebFOCUS Environments area of the Explorer:

  1. Expand your WebFOCUS Environment.
  2. Expand Data Servers.
  3. Expand the server.
  4. Expand the Applications folder.
  5. Expand an application, and right-click the Master Files folder for the application in which you wish to access the data source.

    If you wish to use the data source in multiple applications or have not yet created your application, you can use the baseapp application, where resources can be stored for sharing and access by other applications.

    Tip: If you are developing from the Projects area of the Explorer, expand the project, and right-click the Master Files folder, and then proceed as described.

  6. Select New and then Synonym, as shown in the following image.

    Synonym option

    The Create Synonym tool opens. By default, no adapters are available. Your first task is to configure an adapter in order to be able to access a relational, multidimensional, or other type of data source.

    Create synonym tool

    Note: If any adapters have already been configured for the server, they will be listed under the Configured folder.

  7. In this instance, we are assuming that no adapters are available. Expand the Available folder icon, select the required adapter, and click Configure, as shown in the image below.

    selecting the required adapter

    Depending upon your needs, you can use this window to start configuring an adapter, adding a remote server, or both.

    • Configured. This folder contains any data adapters or remote servers that are already configured. By default, when Developer Studio is installed on its own, the Configured folder displays a Remote Servers folder that contains EDASERVE, the default WebFOCUS Reporting Server, plus any other remote Servers that may be configured with your environment.

      You can use the Configured folder to create synonyms.

      Note: To add a new connection, right-click your server name in the Data Servers area and select Manage Adapters.

    • Available. This folder lists the data adapters that you can configure on the WebFOCUS Reporting Server platform.


x
Procedure: How to Access the Create Synonym Tool From Developer Studio Reporting Tools

When building a report, you can access the Create Synonym Tool directly from any of the Developer Studio reporting tools when you want to report against a synonym that is not available in the list.

  1. There are two ways to launch the Create Synonym tool from Developer Studio reporting tools:
    • Click Create New from the Open dialog box, as shown in the image below.

      Open dialog box

    • Click Create New from the WebFOCUS Table List dialog box, as shown in the image below.

      WebFOCUS Table List

      Note: When accessing a Developer Studio Tool in the Managed Reporting Developer Edition, the Create New button will not appear for developers without Data Server privileges. The Data Server privilege is optional for Developers and standard for Content Managers and Managed Reporting Administrators. This restriction does not apply to the full edition of Developer Studio.

    The Create Synonym Tool opens, as shown in the following image.

    The Create Synonym Tool dialog box

  2. Continue using the tool as described in this chapter. For more information, see Configuring Adapters and Remote Servers in Developer Studio.

When you have completed the synonym creation process, the new synonym appears in the list of available synonyms. You can then select it and continue to create your report request.


Top of page

x
Managing Adapter Configurations

How to:

While working from the WebFOCUS Environments, Data Servers area, or from the Projects area, you can manage adapters by performing the following task.



x
Procedure: How to Manage Adapter Configurations
  1. Expand your WebFOCUS environment, right-click EDASERVE, and select Manage Adapters. For the Projects area, select the root folder Projects on, then right-click and select Manage Adapters.

    right-click menu for EDASERVE

    The Manage and Configure Adapters dialog box opens, as shown in the following image.

    Manage and Configure Adapter dialog box

  2. Select the adapter you want to configure, as shown in the following image.

    Manage and Configure Adapter dialog box

  3. Click Configure.

    The Adapter Configuration dialog box appears, as shown in the following image.

    An MS SQL Server adapter is issued for this configuration example.

    Configuration

    This dialog box enables you to define connection parameters for the adapter, including Connection Name, Server, Security, profile, and Default Database.

  4. Click Configure.

    A dialog box displays, informing you that the adapter was successfully added to the configuration.

    Confirmation

    From the Manage and Configure Adapters dialog box you can also manage existing adapter connections, change properties, add connections, test connections, delete connections, and create synonyms.

    Manage and Configure Adapters dialog box


Top of page

x
Configuring Adapters in Developer Studio

How to:

If your machine has access to your data sources, you can configure adapters to access data directly. However, some adapters may require you to configure your environment before adding them. To determine if this is required for an adapter you wish to configure, see the Adapter Administration for UNIX, Windows, OpenVMS, IBM i, and z/OS manual.

When you configure an adapter, information is added to the edasprof.prf and edaserve.cfg server files.



x
Procedure: How to Configure an Adapter in Developer Studio
  1. From the Projects area, right-click on the root folder Projects on and select Manage Adapters.

    The Manage and Configure Adapters dialog box opens.

  2. Expand the Available folder icons to choose from the list of available adapters.
  3. Select an adapter to configure.
  4. Click Configure to add the selected adapter.
  5. Complete the connection information for your adapter.
  6. Click Configure.

    A message from the Reporting Server confirms that the adapter has been added to your configuration.

  7. Click Cancel to exit the tool.
  8. Or select Create Synonym to proceed and create synonyms for the configured adapter.

    The following options are available from the Manage and Configure Adapters dialog box.

    • Create Synonym
    • Test
    • Delete
    • Properties
  9. Click Test to test the connection.

    If you entered the correct connection parameters, sample data should appear.

    If the test fails, click the connection, select Properties, and adjust your information accordingly.

  10. When sample data appears, click Close.


x
Procedure: How to Add a Remote Server in Developer Studio

From the Projects area, right-click the root folder Projects On and select Manage Adapters.

  1. Expand the Configured folder in the Manage and Configure Adapters window of the Create Synonym tool.
  2. Select Remote Servers and choose Add Remote Server Connection.

    Manage and Configure Adapters dialog box

    The Remote Server Configuration dialog box opens, containing fields to define the connection, as shown in the following image.

    Remote Server Connection dialog box

  3. Complete the fields as follows.

    Basic Parameters

    Description

    NODE

    Type a name by which you will refer to the server. The name is your choice, but cannot be the same as any other server. It must begin with a letter and cannot be more than eight characters.

    HOST

    Specify the host name or IP address for the server.

    PORT

    Specify the base TCP port for the server. The default is normally 8120, not 8100.

    HTTP_PORT

    Specify the HTTP port for the server. This is normally one number higher than the base TCP port. The default is normally 8121, not 8101.

    SECURITY

    Specify how a user should log on to the remote server:

    • IWA (Integrated Windows Authentication, Windows only). Passes your Windows user ID and password to the server when a connection is made.
    • Explicit. Passes the user ID and password you provide.
    • Password Passthru. The user ID and password received from the client application are passed to your data source at connection time. This option requires that the server be started with security off.
    • Trusted. For a trusted connection, where the current logged on user ID is passed to the server.

    If the server is not on Windows and runs with security ON, providing an explicit user ID and password is required to create synonyms.

    user

    If security is set to Explicit, type a specific user ID.

    password

    If you entered a user, provide a password.

    domain

    For a server on Windows, you can specify the domain where the user ID is defined.

    DESCRIPTION

    Optionally, type a description for the node. This description displays in the WebFOCUS front-end tools.

  4. When connecting to a Unified Server, click the Advanced tab and specify the SERVICE NAME, and other parameters, as required.

    Advanced Parameters

    Description

    SERVICE NAME

    CLIENT (servicename)

    Defines how to send outbound communications to a remote server.

    Servicename is optional. If servicename is provided, it must match the value of SERVICE in the service block of the server.

    HTTP_SSL

    Defines whether the Secure Sockets Layer protocol is used in the Web Console listener of the remote server. Type:

    • 0 if no SSL is used in the connection to the Web Console.
    • 1 if SSL is used in the connection to the Web Console.

    COMPRESSION

    Activates data compression in a data transfer between the client and server. Type:

    • 0 for no compression.
    • 1 for compression on.

    ENCRYPTION

    Defines the encryption. Type:

    • 0 for no encryption.
    • DES for 56-bit fixed-key Data Encryption Standard.
    • Advanced, enables you to easily select and combine ciphers, modes, and RSA key lengths. This option provides the following ciphers: 3DES, AES 128, AES192, AES 256, and the following modes: ECB and CBC.
    • IBCRYPT for a user-defined algorithm. Key is 512-bit RSA-encrypted.

    Note: Encryption is not supported for the PIPE protocol. Only 0 and DES are supported for the HTTP protocol.

    CONNECT_LIMIT

    Defines the maximum time, in seconds, that the client will wait for a TCP connection response from the server. Enter:

    • -1 for an indefinite wait.
    • 0 for no wait.

    MAXWAIT

    Defines the time, in seconds, that the client will wait for a response from the server:

    -1 indicates indefinite timeout.

  5. Click Save when you have provided your parameter values.

    A message indicates that a new server was added.

  6. Click Cancel to exit tool or Create Synonym to continue and create synonyms for the new remote server.
  7. When you open the Manage and Configure Adapters dialog box, the following options appear when you select a configured remote server: Create Synonym, Test, Delete, and Properties.

  8. Click Test to test the connection.

    If the remote server is running and you typed the correct connection parameters, sample data should appear.

  9. Click Close.

    If the test fails, click the server, choose Properties, and provide an explicit user ID and password. Then click Save and try the test again.

  10. Click Close.

Your next step depends on your objectives and your server configuration:


WebFOCUS