CONNECT ( connection-parms
, userid , password , app-server-info ) |
Connection parameter
|
Description
|
-NoSessionReuse
|
If specified, the connection does not reuse the SSL session ID when reconnecting over HTTPS to the same PAS instance.
|
-NoHostVerify
|
If specified, turns off host verification for an HTTPS connection. Without this parameter specified, the client compares the host name specified in the connection with the Common Name specified in the server certificate, and raises an error if they do not match. With this parameter specified, the client never raises the error. For more information, see OpenEdge® Getting Started: Core Business Services - Security and Auditing.
|
-pf filename
|
Where filename specifies a text file containing any of the other PAS connection parameters described in this table or Table 70. If this file contains any other OpenEdge startup parameters, the method ignores them.
|
-sessionModel option
|
Where option specifies the application model required by the ABL client for this connection, which can have one of the following values:
Session-managed
Session-free
This value is not case sensitive.
This parameter is required for session-free applications and is optional for session-managed applications. The default value is Session-managed.
|
-URL web-path
|
Where web-path specifies the URL to a PAS instance using the following syntax:
scheme://host:port/web-app-name /ROOT/ / apsv
Where:
scheme
Is either HTTP or HTTPS.
host
Specifies the name or domain of the PAS host.
port
Specifies the port for the host connection. Typically, HTTP uses 8810 and HTTPS uses 8811.
/web-app-name/ ROOT/ / apsv
Specifies the OE ABL Web application and ABL client (or Open Client) transport (apsv) to connect with, where web-app-name is the name of an OE ABL Web application other than the default (oeabl.war) and any other combination specifies a connection to the default OE ABL Web application.
For example, assuming a given PAS instance (scheme, host, and port (.)), an ABL client connection to an OE ABL Web application deployed in a WAR file named inventory.war has the following URI:
./inventory/apsv
An ABL client connection to the default OE ABL Web application on the same PAS instance can be represented by either one of the following URIs:
./ROOT/apsv
.//apsv
./apsv
|
DEFINE VARIABLE happsrv AS HANDLE NO-UNDO.
CREATE SERVER happsrv. IF happsrv:CONNECT("-URL http://localhost:8810/GeneralLedger/apsv -sessionModel session-free") THEN DO: /* Some accounting work on the local PAS instance */ END. |