S
Sanjeev Reddy
Guest
Hi, You can specify the handler URLs at the time of creating/editing WebSpeed Service from PDS OE, these URLs are mapped to Handlers when we publish the service to PAS OE server. We can find this values in openedge.properties file under {DLCWRK}\oepas1\conf directory. Here is the sample hanlder information from openedge.properties when we publish the WebSpeed service to ROOT: [oepas1.ROOT.WEB] adapterEnabled=1 defaultCookieDomain= defaultCookiePath= defaultHandler=OpenEdge.Web.CompatibilityHandler handler1=DepartmentHandler: /SportsHandler/Department/{deptcode} ----> I have defined this for getting data (GET) from Handler handler2=DepartmentHandler: /SportsHandler/Department ----> I have defined this for Post/Update/Delete operation srvrAppMode=development srvrDebug=1 wsRoot=/static/webspeed If we publish the service as a WebApp, then these properties updated under separate WebApp as shown below: [oepas1. .WEB] adapterEnabled=1 defaultCookieDomain= defaultCookiePath= defaultHandler=OpenEdge.Web.CompatibilityHandler handler1=DepartmentHandler: /SportsHandler/Department/{deptcode} handler2=DepartmentHandler: /SportsHandler/Department srvrAppMode=development srvrDebug=1 wsRoot=/static/webspeed When we invoke some URL from any client, then corresponding URL is validated with the values in openedge.properties file and proper response is shown in clinet. Hope this helps, Sanjeev.
Continue reading...
Continue reading...