Salesforce

4gl Code sample to connect to the AppServer through AIA

Information

 
Title4gl Code sample to connect to the AppServer through AIA
URL NameP23923
Article Number000140707
Environment
Question/Problem Description
4GL Code sample to connect to the AppServer through AIA
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
Sample Connection program to Appserver from Aia.

DEFINE VARIABLE hAppSrv AS HANDLE NO-UNDO.
DEFINE VARIABLE ret AS LOGICAL NO-UNDO.
CREATE SERVER hAppSrv.
ret = hAppSrv:CONNECT("-URL http://hostname/aia/Aia?AppService=asbroker1").
IF NOT ret THEN
RETURN ERROR "Failed to connect to AppServer".
MESSAGE "Connected" VIEW-AS ALERT-BOX.
PAUSE.
Workaround
Notes
Keyword Phrase
Last Modified Date9/14/2015 2:19 AM

Powered by