JSON Web services

You can generate JSON Web services.

The exchange protocol is HTTP/REST with JSON encoded messages.

For JSON Services, both the server implementation and client (consumer) API are generated from the model.

To create a JSON web service within BAM:
  1. Create web service entity, either as standalone or from a form.
  2. Create a web service server entity.
  3. Write a client application by linking the generated client stub with the service consumer application and the files libdbappWSCore.42m and libdbappWSClient.42m of the dbapp library. See Creating a client for a JSON Web service.

For more information regarding JSON (or RESTful) Web services, refer to the Genero Business Development Language User Guide.