title: Getting rid of <arg0>
body: <p>I have Java WebService code in my eclipse. I have used @WebService @Webmethod, @XmlElements, @XmlType, @XmlAccessorType</p>
  
  <p>Now I am generating wsdl using java2ws command from cxf framework. Here is the command</p>
  
  <pre><code>F:\....\code\java2wsdl&gt;java2ws -o CustomerVxRR.wsdl -d &lt;myOutputDir&gt; -wsdl -cp &lt;myClassesFolder&gt; &lt;ServiceImpl class&gt;
  </code></pre>
  
  <p>my wsdl file contqins agr0 as name which I do not want because when I am importing it to SoapUI. It is adding  tag around the field.</p>
  
  <p>Here is wsdl part with arg0</p>
  
  <pre><code>&lt;xs:schema ..... &gt;
  &lt;xs:complexType name="myServiceMethodName"&gt;
  &lt;xs:sequence&gt;
  &lt;xs:element minOccurs="0" name="arg0" type="tns:ServiceInputClassName"/&gt;
  &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;xs:complexType name="ServiceInputClassName"&gt;
  &lt;xs:sequence&gt;
  &lt;xs:element minOccurs="0" name="EmpID" type="xs:string"/&gt;
  &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;/xz:schema&gt;
  </code></pre>
  
  <p>Here is the request object which is generated in SOAPUI</p>
  
  <pre><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://customeroffer.manage.ws.hello.my.com/"&gt;
     &lt;soapenv:Header/&gt;
     &lt;soapenv:Body&gt;
        &lt;cus:myServiceMethodName&gt;
           &lt;!--Optional:--&gt;
           &lt;arg0&gt;
              &lt;EmpID &gt;123456&lt;/EmpID&gt;
           &lt;/arg0&gt;
        &lt;/cus:myServiceMethodName&gt;
     &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;
  </code></pre>
  
  <p>If I remove  tag I get this response:</p>
  
  <pre><code>&lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
     &lt;soap:Body&gt;
        &lt;soap:Fault&gt;
           &lt;faultcode&gt;soap:Client&lt;/faultcode&gt;
           &lt;faultstring&gt;Unmarshalling Error: unexpected element (uri:"", local:"EmpID"). Expected elements are &amp;lt;{}empid&gt;&lt;/faultstring&gt;
        &lt;/soap:Fault&gt;
     &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>I do not want to keep arg0 in the request XML</p>