((SoapSession) session).putNotifications(this, ctxt, mNotificationSeqNo >= 0 ? mNotificationSeqNo : 0);
((SoapSession) session).putNotifications(this, ctxt, mNotificationSeqNo);
    Element generateResponseHeader() {        Element ctxt = null;        try {            for (SessionInfo sinfo : mSessionInfo) {                Session session = sinfo.session;                if (ctxt == null)                    ctxt = createElement(CONTEXT);                // session ID is valid, so ping it back to the client:                encodeSession(ctxt, session, false);                // put <refresh> blocks back for any newly-created SoapSession objects                if (sinfo.created && session instanceof SoapSession)                    ((SoapSession) session).putRefresh(ctxt, this);                // put <notify> blocks back for any SoapSession objects                if (session instanceof SoapSession)                    ((SoapSession) session).putNotifications(this, ctxt,                             mNotificationSeqNo >= 0 ? mNotificationSeqNo : 0);            }//            if (ctxt != null && mAuthToken != null)//                ctxt.addAttribute(E_AUTH_TOKEN, mAuthToken.toString(), Element.DISP_CONTENT);            return ctxt;        } catch (ServiceException e) {            sLog.info("ServiceException while putting soap session refresh data", e);            return null;        }	}