title: how to get maven-jaxws-plugin to generate @XmlElementWrapper on classes generated from xsd?
body: <p>I am using maven-jaxws-plugin to generate java classes from my wsdl, schema.  It is not generating the @XmlElementWrapper annotation in the generated classes.  From <a href="https://stackoverflow.com/questions/2447091/how-generate-xmlelementwrapper-annotation-with-xjc-and-customized-binding?rq=1">this</a> post I understand I nedd to use the jaxb-xew-plugin but am unable to get it working with the maven-jaxws-plugin.  Any help would be appreciated.
  Here is the config I tried</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.jvnet.jax-ws-commons&lt;/groupId&gt;
      &lt;artifactId&gt;jaxws-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.2&lt;/version&gt;
      &lt;executions&gt;
      &lt;execution&gt;
          &lt;goals&gt;
                  &lt;goal&gt;wsimport&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;phase&gt;generate-resources&lt;/phase&gt;
              &lt;configuration&gt;
                  &lt;xjcArgs&gt;
                      &lt;xjcArg&gt;-no-header&lt;/xjcArg&gt;
                      &lt;xjcArg&gt;-Xxew&lt;/xjcArg&gt;
                      &lt;xjcArg&gt;-Xxew:instantiate lazy&lt;/xjcArg&gt;
                      &lt;xjcArg&gt;-Xxew:delete&lt;/xjcArg&gt;
                  &lt;/xjcArgs&gt;
                  &lt;extension&gt;true&lt;/extension&gt;
  
                  &lt;wsdlDirectory&gt;${basedir}/src/main/resources&lt;/wsdlDirectory&gt;
                  &lt;wsdlFiles&gt;
                      &lt;wsdlFile&gt;attribute-service.wsdl&lt;/wsdlFile&gt;
                  &lt;/wsdlFiles&gt;
                  &lt;sourceDestDir&gt;${project.build.directory}/generated&lt;/sourceDestDir&gt;
                  &lt;verbose&gt;true&lt;/verbose&gt;
                  &lt;keep&gt;true&lt;/keep&gt;
                  &lt;plugins&gt;
                      &lt;plugin&gt;
                          &lt;groupId&gt;com.github.jaxb-xew-plugin&lt;/groupId&gt;
                          &lt;artifactId&gt;jaxb-xew-plugin&lt;/artifactId&gt;
                          &lt;version&gt;1.0&lt;/version&gt;
                      &lt;/plugin&gt;
                  &lt;/plugins&gt;
              &lt;/configuration&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>If it can only be integrated with the maven-jaxb2-plugin can you please help me get my webservice up?  Essentially How do I specify the wsdl and how to generate the Service classes?  (with @WebService annotation)</p>
  
  <p>Thanks,</p>
  
  <p>Bhagya</p>