PASOE - WebHandler configuration - Forum - OpenEdge Development - Progress Community

PASOE - WebHandler configuration

This question is answered

Openedge 11.7.4 64 bit on Windows 

I've installed 11.7.4 and created a new PASOE instance (oepas2) and deployed this to my working directory, i.e. C:\PASOE1174WRK\oepas2

I can start the instance (running HTTP on port 80) and access the manager on http://localhost:8080/manager. All good so far.

Next step is that I want to deploy a WebHandler, so created the simplest handler Ping.p and copied the rcode into C:\PASOE1174WRK\oepas2\openedge as that directory appears to be in the propath. 

The issue is that I'm not exactly sure where in the file the handler definition should go. I've added it like this;

handler1 = Ping : /ping

Secondly, is that is the correct configuration, what is the URL to access the web handler (based on an instance name of oepas2 running on port 8080).


Verified Answer
All Replies
  • I expect your URL will be http://localhost:8080/web/ping

    Simon L Prinsloo

  • Hello,
    Based on the information you have provided, you can access the webhandler using the following URL:
    Below is the sample URL format to access WebHandler service: http://<host>:<port>/<abl-web-app>/web/<handler-uri>
  • Thanks both, that appears to work.

    Is that the correct method of deploying web handlers, or, similar to REST services should they be deployed via Developer Studio as a war? It appears I', deploying to default ROOT web app when copying directly to the openedge directory?

  • Web handlers are not deployed in a .war file.
    They are registered to an URL in the file and the r-code must be accessible via any directory or procedure library in the PROPATH.

    Architect of the SmartComponent Library and WinKit

    Consultingwerk Ltd.

  • From a presentation done by Peter Judge ( he shows an example where handlers are configured against [mediaresource.SportsApp.WEB] - where does SportsApp come from ?


    defaultHandler = OpenEdge.Web.DefaultWebHandler

    handler1 = Sports.SchemaHandler : /{resources}/catalog

    handler2 = Sports.DataHandler : /{resources}/data/{service}

    handler3 = Sports.DataHandler : /{resources}/data/

    handler4 = App.DocumentHandler : /forms/{form-name}

    handler5 = Sports.SportsHandler : /CustomerSvc/catalog

  • That's an additional ABL web app (besides the ROOT).

    Architect of the SmartComponent Library and WinKit

    Consultingwerk Ltd.