1. Follow the steps in article
What are the steps to create multiple Applications inside one PAS for OpenEdge instance? to deploy the ABL Webapps to the ABL application groups using oepas40. In this case the ABL applications are named MyApp1 and MyApp2, and the ABL Webapps are named OEABL1 and OEABL3:
2. Create two DataObject projects in Developer Studio (It's actually only necessary to generate a single ABL application and deploy it to both webapps, but for clarity this example uses Customer1 and Customer2). Both projects define an ABL DataObject Service (Customer1Service, Customer2Service) using the attached customer.cls ABL source file.
3. Deploy the Customer1Service to the MyApp1, OEABL1 Webapp as follows:
- Copy the Customer1 DataObject project PASOEContent\static\Customer1Sevice.json catalogue file to the PASOE static folder (<work>\oepas40\webapps\OEABL1\static).
- Copy the Customer1 DataObject project Appserver\Customer.r code file to the PASOE WEB-INF\openedge folder (<work>\oepas40\webapps\OEABL1\WEB-INF\openedge).
- Using OpenEdge Management, deploy the PASOE service .paar file (<work>\oepas40\webapps\OEABL1\WEB-INF\adapters\rest\Customer1Service) to the OEABL1 webapp:
4. Repeated step 3 above for the Customer2Service and deploy it to MyApp2, OEABL3 Webapp.
5. Use the following URL's in a web browser to return data from the respective services and their associated databases:
http://localhost:8840/OEABL1/rest/Customer1Service/Customer
http://localhost:8840/OEABL3/rest/Customer2Service/Customer