Web Services
The following types of web services can be distinguished:
REST based Web Services
-
Consumable REST API; which offer the opportunity to call OpenAPI REST web services in Lion. Usually, a OpenAPI JSON file will be available which describes how to invoke such a web service. When importing a OpenAPI JSON file in Lion, routine templates will be created for each operation in the OpenAPI JSON file. Such a template enables Lion developers to call web services, similar to how they would call Lion routines.
- Provided REST API; which represent RESTful web services that are offered by the current application and can be called by third parties. In Lion, a web service can be implemented by invoking routines inside the Provided REST API object. Optionally Swagger documentation is generated that can be exposed to third parties.
SOAP based Web Services
-
Consumable web services; which offer the opportunity to call SOAP web services in Lion.
- Provided web services; which represent web services that are offered by the current application and can be called by third parties. In Lion, a web service can be implemented by invoking (form) routines. A WSDL contract is generated that can be exposed to third parties.