JSON Web Service Server entity
The Web Service Server entity contains the main logic to publish services. It listens for incoming requests and executes the relevant service operation.
For a entity, the Type property states "WebServiceServerJSON". The XML representation of a JSON Web Service Server entity is a .4wsjprg file.
When a Web Service Server entity is implemented from the diagram, a .4gl
source file is generated which contains the MAIN
function for the application. This
.4gl file is also used to combine the other generated .4gl
files into a Genero application.
Any changes to the BA diagram are included in the subsequent re-generating of the program code.
The generated code can be customized.
Properties
The 'public
' property on the
RecordField node is used by SOAP and JSON web services.
Property | Description |
---|---|
Name | Name of entity. |
Type | Type of entity (WebServiceServerJSON) |
File Name | Full path to file. |
Description | Optional description. |