2. On proof of service of a subpoena upon the witness, and that he, is material, an attachment way be issued against him for a contempt, if he neglect to attend as commanded.