title: Error while generating client from wsdl using apache cxf
body: <p>I have tried to generate stubs and client from a wsdl using cxf(versions 2.2.3, 2.2.6 and 2.7.0) by giving the below command</p>
  
  <pre><code>&gt; wsdl2java.bat -p com.easynet.eordering.client -client  http://expediter.staging.gis.easynet.com:7001/cds/services/eordering?wsdl
  </code></pre>
  
  <p>but I am getting an error as</p>
  
  <blockquote>
    <p>WSDLToJava Error: Non unique body parts! In a port, operations must
    have unique operation signaure on the wire for successful dispatch. In
    port {http://eordering.uk.easynet.net}eorderingPortSOAP, Operations
    "{http://eordering.uk.easynet.net}getAMList" and
    "{http://eordering.uk.easynet.net}getDCList" have the same request
    body block {http://eordering.uk.easynet.net}userListRequest</p>
  </blockquote>
  
  <p>I know why this error was thrown, in my wsdl operations are written as </p>
  
  <pre><code>&lt;operation name="getDCList"&gt;&lt;input message="tns:userListRequest"/&gt;&lt;output message="tns:userListResponse"/&gt;&lt;/operation&gt;
  &lt;operation name="getAMList"&gt;&lt;input message="tns:userListRequest"/&gt;&lt;output message="tns:userListResponse"/&gt;&lt;/operation&gt;
  </code></pre>
  
  <p>I was just reusing the userListRequest parameter for both the operations, I believe the error was thrown as the same parameter(userListRequest) is specified in both the operations.</p>
  
  <p>Is there any way to avoid this error without making changes to the wsdl ? (as I know operation overloading is not allowed from wsdl 1.2 but input parameters overloading ? ).</p>