The district attorney general and judge shall not certify any witness fees against the state, except for those witnesses as shall be so endorsed or subsequently directed by the district attorney general, in writing, to be summoned, nor without actual inspection of the orders.