When invoking a Stambia Published Web Service, a session starts on the Runtime and when it ends it returns a response to the client that performed the request.
There is the possibility to specify, when invoking the Web Service, that it is not necessary to wait the end of the session to hand back to the client request.
This can be particularly useful when using Web Services to start long sessions.
Prerequisites:
- Stambia DI Runtime S17.4.8 or higher
Request Configuration
To invoke a Stambia Published Web Service asynchronously, simply add the following HTTP header to the request:
X-asynchronous=true
That's it, the session will be started and the Web Service call will ends right away.