Java class library for handling session keys in a PI soap interface