Building REST services with WebHandlers on PASOE

29 January 2021 | English | VIRTUAL

26 February 2021 | English | VIRTUAL

This course is for OpenEdge® developers who will be creating REST services on PASOE (Progress Application Server for OpenEdge) using both the built-in and custom WebHandlers.

The course starts with an overview and what a REST service is, together with REST’s relationship to HTTP. What an HTTP request and response consists of is discussed, including HTTP methods, status codes and key headers. In addition, a common design approach and basic style guide for REST services is outlined before moving on to implementing REST services in OpenEdge

Attendees should:

• Have a working knowledge of Progress Developer Studio for OpenEdge
• Awareness of Progress Application Server for OpenEdge (PASOE)
• Be familiar with ProDataSets, including an awareness of ‘before-tables’
• Know the basics of structured error handling (throw/catch)
• Have elementary knowledge of the OOABL (including classes, methods, method overriding, properties, inheritance & enums) 

About the Course

The course will include the following topics:

• Options for creating REST services with OpenEdge
• REST services with the DataObjectHandler (Business Entities)
• JSON Filter Pattern 
• How to return validation errors from a Business Entity
• Custom methods in Business Entities
• Custom HTTP responses from Business Entities
• Support for JSDOs
• Use of custom WebHandlers
• Evaluating HTTP requests (paths, path and query parameters)
• Creating and sending HTTP responses (text & binary data)
• Uploading single or multiple files
• Detecting and handling invalid requests
• Options for versioning REST services
• WebHandler deployment

After taking this course, you should:

• Know what makes a service ‘RESTful’
• Be introduced to a common URI design approach
• Understand HTTP requests & responses
• Be able to use the built-in DataObjectHandler (i.e. create Business Entities)
• How to customise Business Entity HTTP responses
• Be able to create custom WebHandlers for sending and receiving text/JSON and binary data (including file upload & download)
• Know how to detect problem requests and respond with appropriate HTTP status codes
• Have options for versioning REST services
• Be aware of WebHandler differences on development vs. production PASOE
• Gain an insight to REST API testing with Postman 

This course is compatible with Progress OpenEdge 11.7.5+ and 12.1+


Request for more information

Complete the form and we will get in touch with you.

Try OpenEdge Now