Concept

A stateful service is a service that maintains a context between a web services client and server. It enables the service to keep trace of previous requests from that context, in order to manage different states in the web service server.

Genero Web Services supports two kinds of stateful services:

The Genero Web Service engine uses a 4GL variable defined at stateful service creation via createStatefulWebService() as service context. Use that variable to hold a service state in a database.

It is up to the 4GL programmer to create, store and remove the service state in the database.

The SOAP engine is responsible for: