Topics: |
How to: |
The listeners are:
These listen for activity on their respective ports.
Note: To include a SOAP listener, you need to configure one. For more information, see How to Configure a SOAP Listener
How to: |
Reference: |
All listeners have the same type of basic parameters. They differ in the additional parameters that are available. All three types have Security parameters. HTTP also includes Sessions Control, Aliases and Miscellaneous Settings.
The Listener Configuration page opens.
The HTTP, TCP, and SOAP listeners have the same type of basic parameters.
Defines the logical name of a node block. The settings are:
For HTTP - LST_HTTP.
For TCP - LST_TCP.
For SOAP - LST_SOAP.
Defines the port number that a listener is listening on. The default value for the HTTP listener is 8117. The default value for the TCP listener is 8116.
Defines an IP address that a listener is listening on. If blank, the listener will listen on all IP addresses.
The HTTP, TCP, and SOAP listeners have the following security parameter:
Defines the name of a host or IP address(es) that will be accepted by the listener. The syntax is
hostname, xxx.xxx.xxx.xxx, yyy.yyy.yyy, ...
The address must be in base 256 standard dot notation. For platforms that support IPv6, IPv6 notation can be used if it is enabled (for example, 2001:1b1:719:1b1:203:baff:fe0a:fe23)
The internal default is *.*.*.*, which allows all IP addresses.
172.204.201.* 172.*.*.* 172.204.*.* 2001:1b1:719:1b1:203:baff:*:fe23
Partial masking is not supported, for example:
172.204.201.1* 172.204.201.*23
The HTTP listener has the following additional parameters:
Security
Defines the authentication protocol used by a secured listener. The valid values are:
Defines the type of message shown for a login error. The valid values are:
0 - Shows a general error message.
1 - Shows a precise error message.
The default value is 0.
Defines whether available security providers or domains should be shown in the login screen. The valid values are:
Defines whether a secret token should be used in all form submissions. This is used to prevent cross-site request forgery attacks. The valid values are:
Defines whether the HTTP listener should sanitize all submitted form parameters. Valid values are zero (0) to disable sanitizing of form parameters, or 1 to enable sanitizing of form parameters. The default value is 1.
Defines whether a browser should be allowed to render the Web Console in a frame. Valid values are:
Enables HTTPS support, either for OpenSSL or Microsoft Windows SSL.
Both types have the following additional parameters:
Defines the SSL certificate. The sample certificate name provided by Information Builders for testing purposes for Microsoft SSL is iwaycert.p12.
If the private key of the certificate is encrypted, an encrypted passphrase must be provided to decrypt the private key.
Note: The sample certificate provided by Information Builders as described under the SSL_CERTIFICATE parameter above contains an encrypted key. The passphrase for this sample certificate is 1234567.
The following additional parameters are specific to OpenSSL:
Defines the file that contains the private key for the listener. It must correspond to the public key embedded in the PEM certificate and must be in PEM format.
Defines the file containing the trusted CA certificate in PEM format. It is used to verify the client certificate. If the client fails to send the certificate or if verification fails, connections will be rejected. More than one CA certificate may be present in the file.
The following additional parameter is specific to Microsoft SSL:
Indicates a name used to identify the certificate in the PKCS#12 file, if the file contains more than one certificate.
Defines whether client authentication should be enabled. Valid values are:
Sessions Control
Defines whether global FOCUS variables will be persistent within a browser session. The valid values are:
0 - Global variables are not persistent within a browser session.
1 - Global variables are persistent within a browser session.
The default value is 0.
Determines whether users receive a password expiration notification by defining the number of days before expiration at which a notification will occur. The default value is 0, meaning no notification.
Defines the maximum number of active sessions. The HTTP listener will reject connections to the Web Console if this number is reached. The default value is 0, meaning no limit.
Defines how many minutes before session expiration a warning message will be displayed. The default value is zero (0), which means there is no timeout warning message.
Defines the maximum number of last requests in a session that will be collected as statistics. The default value is 10.
Alias
Defines a URL alias for the primary file lookup directory. Lookup is performed first in the directory described by this alias. The default value is $EDAHOME/etc.
Defines a comma-delimited list of directories for file lookup. Directories are searched in the order in which they appear in this list.
This parameter has been deprecated and has been combined with the foccache_maxage parameter, in order to make sure that no foccache files remain when the session has expired. For more information about the foccache_maxage parameter, see Application Settings.
Miscellaneous Settings
Defines the preferred hostname or IP address for the listener when a listener has multiple IP addresses or hostnames.
Runs the HTTP Listener as a proxy server. The valid values are:
0 - Proxy server for the HTTP protocol is off.
1 - Proxy server for the HTTP protocol is on.
The default value is 0.
A SOAP listener needs to be configured before it will appear in the Special Services and Listeners folder.
The Listener Configuration page opens.
The SOAP listener is added to the Special Services and Listeners folder.
Using the Simple Object Access Protocol (SOAP) Listener, you can run report requests or DataMigrator flows using RESTful Web Service calls. The answer set is returned in JSON format.
Assuming you created the WebFOCUS Retail tutorial in the ibisamp application, the following FOCEXEC can be created in ibisamp to demonstrate the JSON Answer Set feature. If you created the WebFOCUS Retail tutorial in another application name, substitute application names where applicable.
TABLE FILE WF_RETAIL_LITE SUM COGS_US BY BRAND BY PRODUCT_CATEGORY BY PRODUCT_SUBCATEG IF PRODUCT_CATEGORY EQ '&CATEGORY' END
Note that the request has an IF test that requires a value for the variable &CATEGORY. You will supply the parameter name and value as part of the URL.
http://host:port/rest/app/proc?param=value ...
where:
Is the Reporting Server host name.
Is the SOAP Listener port number.
Is the application that contains the procedure. This application must be on the APP PATH of the Reporting Server.
Is the procedure name and extension.
Is a parameter name.
Is the parameter value.
For example, to run the retail_ws.fex procedure with the parameter &CATEGORY=Accessories, in the ibisamp application, on the host localhost, enter the following URL and press Enter.
http://localhost:8050/rest/ibisamp/retail_ws.fex?CATEGORY=Accessories
The following answer set is returned in JSON format. In this answer set, after the message header information and report statistics, each row is listed in an array named rows. The array of all rows is enclosed in square brackets ([ ]). Each row is enclosed in curly braces ({ }) and separated from the other rows by a comma (,). The rows consist of fieldname:value pairs separated by commas. Alphanumeric values are enclosed in double quotation marks (").
{ "_ibi_Report" : {"Messages" : [ "0 NUMBER OF RECORDS IN TABLE= 10 LINES= 10"], "rows" : [ { "BRAND" : "Audio Technica" , "PRODUCT_CATEGORY" : "Accessories" , "PRODUCT_SUBCATEG" : "Headphones" , "COGS_US" : 38000.00}, { "BRAND" : "Denon" , "PRODUCT_CATEGORY" : "Accessories" , "PRODUCT_SUBCATEG" : "Headphones" , "COGS_US" : 25970.00}, { "BRAND" : "Grado" , "PRODUCT_CATEGORY" : "Accessories" , "PRODUCT_SUBCATEG" : "Headphones" , "COGS_US" : 21930.00}, { "BRAND" : "Logitech" , "PRODUCT_CATEGORY" : "Accessories" , "PRODUCT_SUBCATEG" : "Universal Remote Controls" , "COGS_US" : 61432.00}, { "BRAND" : "Niles Audio" , "PRODUCT_CATEGORY" : "Accessories" , "PRODUCT_SUBCATEG" : "Universal Remote Controls" , "COGS_US" : 73547.00}, { "BRAND" : "Pioneer" , "PRODUCT_CATEGORY" : "Accessories" , "PRODUCT_SUBCATEG" : "Headphones" , "COGS_US" : 16720.00}, { "BRAND" : "Samsung" , "PRODUCT_CATEGORY" : "Accessories" , "PRODUCT_SUBCATEG" : "Charger" , "COGS_US" : 5405.00}, { "BRAND" : "Sennheiser" , "PRODUCT_CATEGORY" : "Accessories" , "PRODUCT_SUBCATEG" : "Headphones" , "COGS_US" : 78113.00}, { "BRAND" : "Sony" , "PRODUCT_CATEGORY" : "Accessories" , "PRODUCT_SUBCATEG" : "Charger" , "COGS_US" : 3168.00}, { "BRAND" : "Sony" , "PRODUCT_CATEGORY" : "Accessories" , "PRODUCT_SUBCATEG" : "Headphones" , "COGS_US" : 18592.00} ] } }
How to: |
The Listener right-click menu also enables you to configure the servlet and refresh the WebFOCUS jar files.
The Configure Servlet page opens.
The Copy server related java components into WF installation directory page opens.
Note: After copying the files, the application server will need to be restarted.
WebFOCUS | |
Feedback |