Establish the connection
- Last Updated: February 11, 2026
- 3 minute read
- OpenEdge
- Version 13.0
- Documentation
To establish a connection to an application server, you must instantiate an AppObject. You can create an AppObject using one of the available constructors.
Establish a connection with a connection object
This constructor establishes an application connection, with the
application server information specified in the Connection
object (connectObj):
|
- AppObject
-
Specifies the name of the AppObject as defined in ProxyGen.
- connectObj
-
Specifies a
Progress.Open4GL.Proxy.Connectionobject, which defines connection parameters to access the application server.
connection class to specify the url
for their application server.Establish a connection with a URL, username, password and application server information
This constructor establishes an application server connection, with the specified application server connection information (url), user ID, password, and information required by the application server application at connection time:
|
- AppObject
-
Specifies the name of the AppObject as defined in ProxyGen.
- url
-
Specifies the name of the AppObject as defined in ProxyGen.
- connectObj
-
Specifies the PAS for OpenEdge ABL web application. The root ABL web application is
http://host:portnumber/apsv/. Alternatively, a named ABL web application ishttp://host:portnumber/ablwebapplication/apsvNote: For an HTTPS connection, you must specify the Internet host name in the url parameter exactly as it appears in the CN field of the application server certificate.
useridSpecifies a user ID required to
access the application server. If security is not implemented, empty string are allowed.
password Specifies a password required
to access the application server. If security is not implemented, empty string are allowed.
infoSpecifies information required by the application service at
connection time.You can set a number of session and run-time properties to manage access to
an application service. For more information on setting session properties see Access Proxy Properties.
Establish a connection with a default url, userID, password and application server information
This constructor establishes an application server connection, with the specified user ID, password, and information required by the application server application at connection time:
|
AppObject is the name of the AppObject as defined in ProxyGen.
userid Specifies a user ID required to
access the application server. If security is not implemented, empty string are allowed.
password Specifies a password required
to access the application server. If security is not implemented, empty string are allowed.
infoSpecifies information required by
the application service at connection time.You can set a number of session and run-time
properties to manage access to an application service. For more information on setting
session properties see Access Proxy Properties.
http://localhost:8810/apsv/, where apsv is
the AppService Name setting specified in the general
settings of the ProxyGen Generate Proxies dialog
box.Establish a connection with default details
The following constructor establishes an application server connection, with no specified application server information:
|
AppObject Specifies the name of the AppObject as defined in ProxyGen.
appservice Specifies the name of the application service.
appservice
is not used by PAS for OpenEdge.