title: make cxf - wsdl2java to use SLF4J
body: <p>We have a maven project which generates the wsdl client through apache cxf. The main goal is, to have the service wrapper fully generated, so that only the wsdl files have to be maintained under version-control.</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.5&lt;/version&gt;
    &lt;executions&gt;
      &lt;execution&gt;
        &lt;id&gt;generate-sources&lt;/id&gt;
        &lt;phase&gt;generate-sources&lt;/phase&gt;
        &lt;configuration&gt;
          &lt;wsdlOptions&gt;
            &lt;wsdlOption&gt;
              &lt;wsdl&gt;src/main/resources/WSAnzeigeKunde.wsdl&lt;/wsdl&gt;
              &lt;extraargs&gt;
                &lt;extraarg&gt;-frontend&lt;/extraarg&gt;
                &lt;extraarg&gt;jaxws21&lt;/extraarg&gt;
                &lt;extraarg&gt;-p&lt;/extraarg&gt;
                &lt;extraarg&gt;http://www.die-software.com/xsd/OBS_ANZEIGE_KUNDE_ANTWORT.xsd=com.diesoftware.service.anzeigekunde&lt;/extraarg&gt;
              &lt;/extraargs&gt;
            &lt;/wsdlOption&gt;
          &lt;/wsdlOptions&gt;
        &lt;/configuration&gt;
        &lt;goals&gt;
          &lt;goal&gt;wsdl2java&lt;/goal&gt;
        &lt;/goals&gt;
      &lt;/execution&gt;
    &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>this works fine so far.
  the resulting code looks like</p>
  
  <pre><code>public class WSAnzeigeAssetsummenService extends Service {
    public final static URL WSDL_LOCATION;
    public final static QName SERVICE = new QName("http://www.die-software.com/xsd/OBS_ANZEIGE_ASSETSUMMEN_ANTWORT.xsd", "WSAnzeigeAssetsummenService");
    public final static QName WSAnzeigeAssetsummenPort = new QName("http://www.die-software.com/xsd/OBS_ANZEIGE_ASSETSUMMEN_ANTWORT.xsd", "WSAnzeigeAssetsummenPort");
    static {
        URL url = null;
        try {
          url = new URL("file:/C:/Data/workspace-temp/WebAppPOC/src/main/resources/WSAnzeigeAssetsummen.wsdl");
        } catch (MalformedURLException e) {
          java.util.logging.Logger.getLogger(WSAnzeigeAssetsummenService.class.getName())
              .log(java.util.logging.Level.INFO, 
                   "Can not initialize the default wsdl from {0}", "file:/C:/Data/workspace-temp/WebAppPOC/src/main/resources/WSAnzeigeAssetsummen.wsdl");
        }
        WSDL_LOCATION = url;
    }
  </code></pre>
  
  <p>I found that cxf supports SLF4J (<a href="http://cxf.apache.org/docs/debugging-and-logging.html#DebuggingandLogging-UsingLog4jInsteadofjava.util.logging" rel="nofollow">http://cxf.apache.org/docs/debugging-and-logging.html#DebuggingandLogging-UsingLog4jInsteadofjava.util.logging</a>) but this seems not to belong to wsdl2java.</p>
  
  <p>Is there really no way to configure the wsdl2java, to use any other logger.</p>