[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Help with REST URI?/403 error

  • Thread starter Thread starter Sanjeev Reddy
  • Start date Start date
Status
Not open for further replies.
S

Sanjeev Reddy

Guest
Hi, If you are deploying any REST service to PAS OE server, then the URL format to access the service is: :// : / / / / (eg: http://localhost:8810/SportsApp/rest/SportsRestService/CustomerBE ). If you are deploying any REST service to classic tomcat server (restmgr1), then the URL format to access the service is: :// : / / / / (eg: localhost:8810/.../CustomerBE ). In case of classic server, each service is treaded a separate webapp and a war file is created with service name (by default) and then published to classic tomcat server. But, if you are working with PAS OE server, then all the services under one project are grouped and published as one war file (default webapp name is project name). Since you are using PAS OE server, I think your URL should be like this: /TestLCR/rest/TestLCRService/customer/1 (assuming project name is TestCLR). You can see the actual URI information from PDS OE. Expand “Defined Services” node under project and then double click on the service which you want to access. It’ll open “Edit ABL service” dialog and click Next and select the resource which you want to access. At the bottom of the wizard you can actually see the sample URI like this: http:// [:port]/SportsApp/rest/SportsRestService/CustomerBE Hope this helps, Sanjeev

Continue reading...
 
Status
Not open for further replies.
Back
Top