Sec. 1. The foreman or the attorney representing the State may, upon written application to the district court stating the name and residence of the witness and that his testimony is believed to be material, cause a subpoena or an attachment to be issued to any county in the State for such witness, returnable to the grand jury then in session, or to the next grand jury for the county from whence the same issued, as such foreman or attorney may desire. The subpoena may require the witness to appear and produce records and documents. An attachment shall command the sheriff or any constable of the county where the witness resides to serve the witness, and have him before the grand jury at the time and place specified in the writ.