"Shall" seems to be used more by the British than Americans. "Shall" and "will" could be interchanged today in those two sentences, but I don't know if they could be when the author wrote it. One example where "shall" can't be interchanged with "will" is in this sentence: "Shall we have tea or coffee?"