title: How to publish two services with same path but different URLs on Mule 3.2
body: <p>My need is to publish two services with same path on mule, but different URL's. Like this</p>
  
  <pre><code>https://localhost:8443/etc/app/version1/Service
  
  https://localhost:8443/etc/app/version2/Service
  </code></pre>
  
  <p>Im using servlet mapping on web.xml</p>
  
  <pre><code>&lt;servlet-mapping&gt;
          &lt;servlet-name&gt;muleServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/app/*&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>And tried to use two different connectors since the path attribute doesn't allow me to use "version1/Service" or "version2/Service"</p>
  
  <pre><code>&lt;servlet:connector
      name="conectorVersion1"
      servletUrl="https://localhost:8443/etc/app/version1/"&gt;
  &lt;/servlet:connector&gt;
  
  &lt;servlet:connector
      name="conectorVersion2"
      servletUrl="https://localhost:8443/etc/app/version2/"&gt;
  &lt;/servlet:connector&gt;
  </code></pre>
  
  <p>And finally, the endpoints</p>
  
  <pre><code>   &lt;flow
      name="FlowVersion1"
      processingStrategy="synchronous"&gt;
  
         &lt;servlet:inbound-endpoint
          connector-ref="conectorVersion1"
          path="Service"&gt;
          &lt;-- processors, jaxws-service, interceptors etc.. --&gt;
         &lt;/servlet:inbound-endpoint&gt;
      &lt;/flow&gt;
  
     &lt;flow
      name="FlowVersion2"
      processingStrategy="synchronous"&gt;
  
         &lt;servlet:inbound-endpoint
          connector-ref="conectorVersion2"
          path="Service"&gt;
          &lt;-- processors, jaxws-service, interceptors etc.. --&gt;
         &lt;/servlet:inbound-endpoint&gt;
      &lt;/flow&gt;
  </code></pre>
  
  <p>But i got this exception:</p>
  
  <pre><code> [[/etc]] StandardWrapper.Throwable: java.lang.IllegalStateException: 
   There are at least 2 connectors matching protocol "servlet", so the connector to use must be 
   specified on the endpoint using the 'connector' property/attribute. 
   Connectors in your configuration that support "servlet" are: conectorVersion1, conectorVersion2, 
  </code></pre>
  
  <p>Thanks in advance.</p>