(2)Every person who may be required to give evidence before a commanding officer or the officer preparing a summary of evidence in accordance with the regulations made under this Act or before a board of inquiry shall be summoned in the prescribed manner by writing under the hand of the Judge Advocate General of the Navy or the senior officer in the station or such other officer prescribed in this behalf.