Step 4: Call any web service operation with previously returned HTTP cookie

Before calling any Web service operation, set the HTTP cookie returned by a session initiator function to identify the session to the server.

For example:
# use instance1
LET StatefulCookieService_StatefulCookieServicePortTypeEndpoint.Binding.Cookie =
 instance1 
# Call web operation MyFunction of instance 1
CALL MyFunction("Hello") RETURNING wsstatus,ret