title: Client classes generated by cxf-codegen-plugin:wsdl2java missing Policies attached in WSDL
body: <p>I used cxf-codegen-plugin to generate client classes:</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
      &lt;artifactId&gt;cxf-codegen-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.7.4&lt;/version&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;goals&gt;
                  &lt;goal&gt;wsdl2java&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;phase&gt;generate-sources&lt;/phase&gt;
              &lt;configuration&gt;
                  &lt;wsdlOptions&gt;
                      &lt;wsdlOption&gt;
                          &lt;wsdlArtifact&gt;
                              &lt;groupId&gt;webservices&lt;/groupId&gt;
                              &lt;artifactId&gt;ws-dosomething&lt;/artifactId&gt;
                              &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
                          &lt;/wsdlArtifact&gt;
                      &lt;/wsdlOption&gt;
                  &lt;/wsdlOptions&gt;
              &lt;/configuration&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>I found that policies attached in "webservices:ws-something:1.0-SNAPSHOT:wsdl" were not found in the generated classes. When send requests using the client:</p>
  
  <pre><code>&lt;cxf:bus&gt;
      &lt;cxf:features&gt;
          &lt;p:policies /&gt;
      &lt;/cxf:features&gt;
  &lt;/cxf:bus&gt;
  
  &lt;jaxws:client id="DoSomethingService" address="http://localhost/cxf/services/dosomething" serviceClass="webservices.dosomething.DoSomethingService"&gt;
      &lt;jaxws:properties&gt;
          &lt;entry key="ws-security.signature.properties" value="crypto.properties" /&gt;
          &lt;entry key="ws-security.callback-handler" value="webservices.dosomething.WSPasswordProvider" /&gt;
      &lt;/jaxws:properties&gt;
  &lt;/jaxws:client&gt;
  </code></pre>
  
  <p>, the server complains:</p>
  
  <pre><code>org.apache.cxf.interceptor.Fault: These policy alternatives can not be satisfied: 
  {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}AsymmetricBinding: Received Timestamp does not match the requirements
  {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}X509Token: The received token does not match the token inclusion requirement
  {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}X509Token
  {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}InitiatorToken
  {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}RecipientToken
  {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}IncludeTimestamp: Received Timestamp does not match the requirements
  {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedParts: {http://schemas.xmlsoap.org/soap/envelope/}Body not SIGNED
  </code></pre>
  
  <p>JAX-WS annotations are present in client classes, while Apache CXF annotations like "@Policies" and "@Policy" are missing.</p>
  
  <p>Is that normal? What I should do to apply policies at the client side?</p>