Portlet Factory, Version 6.1.2


 

REST Service Enable builder

This builder makes all the operations from a data service available as REST service calls.

The builder also optionally generates test pages for testing each operation. The builder generates a method for each operation from the data service, and makes that method callable by HTTP (using a Model Action Access builder). GET and POST are supported. That method performs the following functions.

  • Looks for request inputs for each of the text elements in the operation input schema.

  • Constructs an XML variable for the inputs to the data service operation.

  • Calls the operation and returns the operation results as the HTTP results.

  • Sets the content type to text/xml and invalidates the session.

Parent topic: Builder help


Library | Support |