Salesforce

PASOE Enhanced Connected behavior for Open Client

« Go Back

Information

 
TitlePASOE Enhanced Connected behavior for Open Client
URL NamePASOE-Enhanced-Connected-behavior-for-Open-Client
Article Number000220719
EnvironmentProduct: OpenEdge
Version: 12.2 and later
OS: All supported platforms
Other: PASOE, .NET Open Client, Java Open Client
Question/Problem Description
How to use the PASOE Enhanced Connected feature when using the .NET or Java Open Client.
How to check if a .NET Open Client or Java Open Client application is still connected to a PASOE Agent.

 
Steps to Reproduce
Clarifying Information
The Enhanced Connected behavior for PASOE is described in the following KB article:
Connected( ) Behavior in PAS for OpenEdge
Error Message
Defect Number
Enhancement Number
Cause
Resolution
Use the isConnected() method of the AppObject or OpenAppObject to check the PASOE connection status via Open Client.
This isConnected() method was initially implemented in OpenEdge 12.3, but it was then back-ported to OpenEdge 12.2.5. It is highly recommended to upgrade to OpenEdge 12.2.7 though since it fixes an issue where the method was still returning 'true' when the PASOE instance was not running.

.NET Open Client sample code snippet:
public Connection conn;
public WSTest appObj;

string connectionStr = "";
connectionStr += "http://localhost:8810/apsv";
conn = new Connection(connectionStr, "", "", "");
conn.SessionModel = 1;
appObj = new WSTest(conn);

MessageBox.Show("Connected? : " + appObj.isConnected().ToString(););





 
Workaround
Notes
Keyword Phrase
Last Modified Date8/1/2022 12:03 PM

Powered by