The serviceLib.endStatefulServiceSession() system
function releases runtime resources used to support access of EGL
REST services that provide access to stateful IBM® i
programs. You specify the session ID (or accept a default) when you
declare the interface variable.
For details on how EGL provides access to IBM i
called programs and service programs, see Accessing IBM i
programs as Web services: overview.