. . . . . "A clerk of a court of record, a notary public or a justice of the peace may issue summonses for witnesses in all cases pending before courts, magistrates, auditors, referees, arbitrators or other persons authorized to examine witnesses, and at all hearings upon applications for complaints wherein a person may be charged with the commission of a crime..." .