Configuring the Progress Application Server agent as a self-service DataServer session
- Last Updated: January 26, 2026
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Configuring the Progress Application Server agent as a self-service DataServer session
To configure the OpenEdge AppServer agent as a self-service DataServer session:
- Run the following command from Proenv to create an instance of Progress Application Server for
OpenEdge:
pasman create -p <http portnum> -P <https portnum> -s <shutdown port> <instance name>Note: In the above command –p port_num specifies the TCP port that listens for HTTP messages, the default is 8080, and –P port_num and specifies the TCP port that listens for HTTPS messages, the default is 8443. -s port_num specifies the TCP port used to stop an instance. instance name is the name of the Progress Application Server instance. - Edit the OpenEdge.Properties
file located in the
conffolder to update theagentStartupParamas follows:Table 1. agentStartupParam=-T "${catalina.base}/temp" -pf %WRKDIR%/ORA.pf Create a schema holder as described in Creating a schema holder section in OpenEdge Data Management: DataServer for Microsoft® SQL Server.
- Start the schema holder using the Proserve command.
- Start the Progress Application Server instance using the following
command from the
cd pasds/binlocation to start :Table 2. tcman.bat start - To connect the client application to Progress Application Server, use
one of the following methods:
- To connect using APSV, use the following sample client.p file to
connect to the multi-threaded agent:
DEFINE var a as INTEGER. DEFINE var b as INTEGER. DEFINE var outmsg1 AS INTEGER. DEFINE VARIABLE iCount AS INTEGER NO-UNDO. DEFINE VARIABLE happsrv AS HANDLE NO-UNDO. CREATE SERVER happsrv. IF happsrv:CONNECT("-URL http://<machine name>:< http portnum >/apsv -sessionModel Session-Managed") THEN DO : a = 10. b = 2. RUN test.p on happsrv(INPUT-OUTPUT a ,INPUT-OUTPUT b ,INPUT-OUTPUT outmsg1). MESSAGE "Output Value: " outmsg1. END. happsrv:disconnect(). DELETE OBJECT happsrv. - To connect using REST, run the deployREST.bat and MultipleService.paar. Run the tcman.bat from
http://localhost:8811/rest/MultipleOperationsService/test1/9 - To connect using SOAP, start the tcman.bat from the
cd pasds\binlocation. Run deploySOAP.bat and GetCustName.wsm ROOT from thehttp://localhost:8811/soap/wsdl?targetURI=urn:getCustName. From the location, cd %WRKDIR% run the commands:Table 3. prowin -b -p ClientGetCustNameSSL.p $PROEXE -b -p client.p -param find_first.p & $PROEXE -b -p client.p -param find_last.p & $PROEXE -b -p client.p -param for_each.p & $PROEXE -b -p client.p -param for_first.p & OUTPUT AT C:\OpenEdge\WRK117\pasds\work dataserv.lg at C:\OpenEdge\WRK117\pasds\work input files C:\OpenEdge\WRK117\pasds\openedge
- To connect using APSV, use the following sample client.p file to
connect to the multi-threaded agent: