Futurity
Shall I (I shall) Shall we (We shall)
Shall you (I shall) Shall you (We shall)
Will he (He will) Will they (They will)
Volition, etc.
---- --- ---- ---
Will you (I will) Will you (We will)
Shall he (He shall) Shall he (He shall)

In all other cases, as in subordinate clauses shall is used in all persons to express mere futurity, will to express volition, etc.

In indirect discourse, when the subject of the principal clause is different from the noun clause, the usage is like that in direct statement, for example,

The teacher says that James will win the medal. (futurity),

but when the subject of the principal clause is the same as that of the noun clause, the usage is like that in subordinate clauses,

The teacher says that he shall soon resign. (futurity).

Exceptions. Will is often used in the second person to express an official command.

You will report to the superintendent at once.

Shall is sometimes used in the second and third persons in a prophetic sense.

Ye shall know the truth and the truth shall make you free.