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.
2. Edit the OpenEdge.Properties file located in the conf folder to update the agentStartupParam as follows:
3. Create a schema holder as described in the section.
4. Start the schema holder using the Proserve command.
5. Start the Progress Application Server instance using the following command from the cd pasds/bin location to start :
tcman.bat start
6. To connect the client application to Progress Application Server, use one of the following methods:
a. 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.
b. To connect using REST, run the deployREST.bat and MultipleService.paar. Run the tcman.bat from http://localhost:8811/rest/MultipleOperationsService/test1/9
c. To connect using SOAP, start the tcman.bat from the cd pasds\bin location. Run deploySOAP.bat and GetCustName.wsm ROOT from the http://localhost:8811/soap/wsdl?targetURI=urn:getCustName. From the location, cd %WRKDIR% run the commands: