Ballerina Composer — Tutorial (Part III — Services)

In most of the integration scenarios, you have the requirement of exposing a certain functionality to the outside world as a service. In such a scenario, you can achieve this requirement so much easily with Ballerina Service Definitions. It as simple as just dragging and dropping a service from the composer tool palette to start your service logic.
Ballerina service encloses the Resources which contains the integration logic. You can add multiple resources to expose various functionalities as resources, and expose them as types of requests.
A service can be consist with following artifacts
  1. Resources
  2. Connectors — Accessible by all the resources (Global to service scope)
  3. Variables — Accessible by all the resources (Global to service scope)

Composing your first Service


Popular posts from this blog

Enabling Custom SSL Profiles in WSO2 ESB 4.8.1

Using WSO2 ESB HTTP Endpoints to define Restful Endpoints

Integrating WSO2 ESB Connectors in real world integration Scenarios