Clarification: this question was about GZIPping an JAX-WS-based REST service, but I\'ve decided to change the topic to make it easier to find
gzipping the output is the reponsibility of JAX WS implementation. You should refer to server's (Tomcat, Glassfish, JBoss, etc) documentation in order to configure your http network listeners.