Versions Compared

Key

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

...

After you have created your service call, you can use it inside a flow. The web service throws a default event. When the service is executed, it will read the data needed from the domain model, starting from the singleton request instance. After receiving an answer from the server, the web service will store the data as new instances, starting from the singleton response instance. If a data mapping is used, the mapping is executed after the domain module in the web service module is filled. A common error is that an empty message is sent to the server. The reason for this is that the domain model for the web service is not correctly initiated. If the web service returns an error message, Blueriq runtime will show this error.

 

Previous Chapter: Chapter 3 - Representational State Transfer (REST)

Next Chapter: Chapter 5 - Calling a REST service