Link to this page
Print this page
Parent topic
:
WS-Addressing 1.0 stateful services
Stateful web services
/
WS-Addressing 1.0 stateful services
Server side
Perform these steps to create a WS-Addressing stateful service.
Step 1: Declare a W3CEndpointReference record to be used as state variable
Step 2: Create a stateful WS-Addressing enabled web service with W3CEndpointReference record as a parameter
Step 3: Publish a web service operation returning the W3CEndpointReference state variable and set it as session initiator
Step 4: Create the 4GL session initiator function and instantiate a new session
Step 5: Restore the session in any 4GL web operation from the W3CEndpointReference record