Create xml for startSession.