title: axis2: two different webservices sharing the same name
body: <p>I have two different webservices (each generated from a different wsdl) with the same name "getConfiguration", that I'm trying to put in the same .aar file.</p>
  
  <p>In the services.xml I've changed the name of the second to "getConfiguration2", 
  so my services.xml file looks like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;serviceGroup&gt;
  &lt;service name="getConfiguration"&gt;
          &lt;messageReceivers&gt;
              &lt;messageReceiver mep="http://www.w3.org/ns/wsdl/in-out" class="wi.xpto.webservice.GetConfigurationMessageReceiverInOut"/&gt;
          &lt;/messageReceivers&gt;
          &lt;parameter name="ServiceClass"&gt;wi.xpto.webservice.GetConfigurationSkeleton&lt;/parameter&gt;
          &lt;parameter name="useOriginalwsdl"&gt;true&lt;/parameter&gt;
          &lt;parameter name="modifyUserWSDLPortAddress"&gt;false&lt;/parameter&gt;
          &lt;operation name="getConfiguration" mep="http://www.w3.org/ns/wsdl/in-out" namespace="http://6.xpto.com/v/i/wsd/getConfiguration"&gt;
              &lt;actionMapping&gt;v_i_wsd_getConfiguration_Binder_getConfiguration&lt;/actionMapping&gt;
              &lt;outputActionMapping&gt;http://6.xpto.com/v/i/wsd/getConfiguration/getConfiguration_PortType/getConfigurationResponse&lt;/outputActionMapping&gt;
          &lt;/operation&gt;
      &lt;/service&gt;  
  
      &lt;service name="getConfiguration2"&gt;
          &lt;messageReceivers&gt;
              &lt;messageReceiver mep="http://www.w3.org/ns/wsdl/in-out" class="wi.xpto.webservice2.GetConfigurationMessageReceiverInOut"/&gt;
          &lt;/messageReceivers&gt;
          &lt;parameter name="ServiceClass"&gt;wi.xpto.webservice2.GetConfigurationSkeleton&lt;/parameter&gt;
          &lt;parameter name="useOriginalwsdl"&gt;true&lt;/parameter&gt;
          &lt;parameter name="modifyUserWSDLPortAddress"&gt;false&lt;/parameter&gt;
          &lt;operation name="getConfiguration" mep="http://www.w3.org/ns/wsdl/in-out" namespace="http://7.xpto.com/VResouce_I/wsd/getConfiguration"&gt;
              &lt;actionMapping&gt;VResouce_I_wsd_getConfiguration_Binder_getConfiguration&lt;/actionMapping&gt;
              &lt;outputActionMapping&gt;http://7.xpto.com/VResouce_I/wsd/getConfiguration/getConfiguration_PortType/getConfigurationResponse&lt;/outputActionMapping&gt;
          &lt;/operation&gt;
      &lt;/service&gt;
  
  &lt;/serviceGroup&gt;
  </code></pre>
  
  <p>The services/listServices presents the two webservices:</p>
  
  <pre><code>-&gt; getConfiguration
  Service EPR : http://host/path/services/getConfiguration
  Service Description : getConfiguration
  Service Status : Active
  Available Operations
  getConfiguration
  
  -&gt; getConfiguration2
  Service EPR : http://host/path/services/getConfiguration2
  Service Description : getConfiguration2
  Service Status : Active
  Available Operations
  getConfiguration
  </code></pre>
  
  <p>When I access the getConfiguration wsdl url (http://host/path/services/getConfiguration?wsdl) the axis presents to me the wsdl from getConfiguration service which looks good.
  But if I access the getConfiguration2 wsdl url (http://host/path/services/getConfiguration2?wsdl) the following error appears:</p>
  
  <pre><code>&lt;error&gt;
    &lt;description&gt;Unable to generate WSDL 1.1 for this service&lt;/description&gt;
    &lt;reason&gt;If you wish Axis2 to automatically generate the WSDL 1.1, then please +set useOriginalwsdl as false in your services.xml&lt;/reason&gt;
  &lt;/error&gt;
  </code></pre>
  
  <p>The aar file contains both wsdl (the second one also renamed to getConfiguration2):</p>
  
  <pre><code>META-INF/getconfiguration.wsdl
  META-INF/getConfiguration2.wsdl
  </code></pre>
  
  <p>Any idea why and how to solve it?
  If I comment one of them in the services.xml file the other works fine.
  My setup: Linux + Java 1.6 + Tomcat + axis 2</p>
  
  <p>Thanks</p>