Procedures Adapters

Topics:

    Topics:

    This section provides descriptions of new features for procedures adapters.

    Adapter for REST: RESTTSCQ Support for Custom Headers

    The Adapter for REST now supports custom headers in the FILEDEF RESTTSCQ REST request trace.

    Adapter for REST: Create Synonym Support for Custom Header Information

    The Create Synonym page for the Adapter for REST now supplies a text box in which you can enter custom header name=value pairs that are passed in the HTTP header of the REST web service call. Each name=value pair must be separated from the previous pair with a semicolon (;). For example:

    Content-Type="CDF";PARAM1="ABC"

    The custom header information is only passed if the web service call requires the custom header parameters. You can change the parameter values at runtime using a WHERE or IF command.

    Adapter for REST: Support for URL in the Synonym

    You can edit a synonym for the Adapter for REST to contain the endpoint URL for unsecured services instead of placing it in the connection string.

    Delete or null out the CONNECTION parameter in the Access File and add the SERVICEURL attribute to point to the endpoint URL. If the OBJECT attribute exists in the Access File, the full URL is a concatenation of the SERVICEURL and OBJECT values. For example, consider an Access File that contains the following attributes:

    CONNECTION=, 
    SERVICEURL=http://api.geonames.org,
    OBJECT=ABC,

    The endpoint URL will be:

    http://api.geonames.org/ABC

    Adapter for WebFOCUS

    The Adapter for WebFOCUS integrates with the WebFOCUS Client through WebFOCUS RESTful Web Services. Explicit and Password Passthru authentication to WebFOCUS is handled by configuring the connection to the adapter. A successful authentication returns a Cross-Site Request Forgery (CSRF) token that is automatically passed on each WebFOCUS RESTful Web Service call.

    When you right-click the connection and click Show DBMS objects, you can then click Create Synonym(s) and Examples, which loads a set of examples that include Master Files, Access Files, and Procedures. Each of these examples performs a specific WebFOCUS function, such as security maintenance, ReportCaster scheduling, and folder maintenance.

    To configure the adapter, right-click the adapter on the Available list and click Configure. The Add Connection page opens. Configure the following parameters.

    Connection Name

    Is a name for the connection.

    WebFOCUS Base Url

    Is the URL used to access WebFOCUS, in the form http://computername:port/ibi_apps.

    Security

    Select Explicit or Password Passthru. For Explicit authentication, enter the WebFOCUS user ID and password.

    WebFOCUS

    Feedback