* @param sessionId session identifier
*/
static void endSessionIfExists(WSEndpoint endpoint, String sessionId) {
SessionManager manager = SessionManager.getSessionManager(endpoint,null);
if (manager.getSession(sessionId) != null) {
manager.terminateSession(sessionId);
}
}
/**
* Based on the parameter, this utility method determines whether or not