title: SoapUI mock service always returns log page at root
body: <p>I am attempting to deploy a mock REST service with SoapUI. I am using SoapUI's 'Deploy As War' facility, with Tomcat as the container, on <code>localhost:8080</code> (on WinXP). Any requests I make when running the service return the SoapUI mock service log page, however. So if the root of the service is <code>http://localhost:8080/foo/</code>, and I make a request to <code>http://localhost:8080/foo/bar</code>, the response will be the HTML of the log page at the root (code is 200).</p>
  
  <p>I believe I have everything set up correctly in my WEB-INF/web.xml, as outlined <a href="http://forum.soapui.org/viewtopic.php?t=11384" rel="nofollow">here</a>:</p>
  
  <pre><code>&lt;servlet-mapping&gt;
   &lt;servlet-name&gt;SoapUIMockServlet&lt;/servlet-name&gt;
   &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>Everything works as expected when running the service from within SoapUI itself.</p>
  
  <p>My context path was set to '/foo'. I have my foo.war and the war directory itself under Tomcat's webapps directory. I have noticed, however, that when I attempt to access the wsdl from the log page all I get is this:</p>
  
  <pre><code>&lt;wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"&gt;
  &lt;/wsdl:definitions&gt;
  </code></pre>
  
  <p>No idea if that's what I'm supposed to be seeing, or if that's at all relevant.</p>
  
  <p>New to Tomcat and relatively new to SoapUI. Any suggestions much appreciated.</p>