Modeling the application / BA diagram entities and properties |
The Webservice Server entity contains the main logic to publish services. It listens for incoming requests and executes the relevant service operation.
The Webservice Server entity contains the main logic to publish services. It listens for incoming requests and executes the relevant service operation.
The XML representation of a Webservice Server entity is a 4wsprg file.
When a Webservice 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.
Property | Description |
---|---|
Name | Name of entity. |
Type | Type of entity. |
File Name | Full path to file. |
Namespace | Common namespace used for the published services. |
Right-click a Webservice Server entity in the diagram to display a context menu of options.
Menu Option | Description |
---|---|
Implement Webservice Server | Creates the Webservice Server file (4wsprg). The 4wsprg generates the logic for the MAIN function. Until you create the Webservice Server file, the Webservice Server entity on the diagram is simply an icon. |
Execute Program / Build Program | Builds and/or executes the source code for the Webservice Server based on the related entities in the diagram. |
Convert to | Converts entity from one type to another. |
Locate in Project | Locates and highlights the selected item in the project. |