Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Close your project to edit your project structure, and add a new interaction module. Now make this new module your entry point, instead of the web service module. Open your project again and go to this new module, and create a domain model, the required logic elements and optionally a flow Flow. In the WebCalculator example, this could be as simple as one Input entity with two attributes to hold the input values, one Output entity with an attribute to hold the result, and a Decision table to do the appropriate calculations.

Your new module typically has no pages for user interaction, and even a flow is Flow is not always needed. If you create a flow at all, it should be exposed, and it will just contain service calls to create instances and/or set attribute values and/or relations. In other words, to create all that is necessary to fill the response. 

...