title: Enable gzip compression in CXF client
body: <p>I'm trying to make my client use gzip.  I have the GZip Feature enabled in the server.  It seems that the client it's not sending the correct header:</p>
  
  <pre><code>POST /api/v1/data HTTP/1.1
  Content-Type: text/xml; charset=UTF-8
  Accept: */*
  SOAPAction: ""
  User-Agent: Apache CXF 2.6.2
  Cache-Control: no-cache
  Pragma: no-cache
  Host: localhost:8001
  Connection: keep-alive
  Content-Length: 539
  </code></pre>
  
  <p>Here's the code where I create the client:</p>
  
  <pre><code> private static final QName SERVICE_NAME = new QName(
              "http://xxx/", "IData");
      private static final QName PORT_NAME = new QName(
              "http://xxx/", "IDataPort");
      IData port;
  
      public void initPort() {
          Service service = Service.create(SERVICE_NAME);
          // Endpoint Address
          String endpointAddress = ClientUtil.getUrl()
                  + "data";
  
          // Add a port to the Service
          service.addPort(PORT_NAME, SOAPBinding.SOAP11HTTP_BINDING,
                  endpointAddress);
  
          port = service.getPort(IData.class);
      }
  </code></pre>
  
  <p>The IData interface implements has the GZip Annotation:</p>
  
  <pre><code>@WebService
  @GZIP
  public interface IData ....
  </code></pre>