cortez
12 years agoOccasional Contributor
Mock service deployed as War always returns WebUI HTML
I am using the 'Deploy As War' facility to deploy a REST mock service, with Tomcat. Although everything works as expected when running the service from within SoapUI itself, requests to the deployed war just return the WebUI HTML. So if the service is running on http://localhost:8080/foo/, and I make a request to http://localhost:8080/foo/bar, the response will be the HTML of the log page (with a "200 OK" code).
The same problem is described in this post. My WEB-INF/web.xml appears to be set up correctly, however:
I have the foo.war under Tomcat's webapps directory. The context path is just '/foo'. I get the same problem with Jetty and JBoss, so it's not specific to Tomcat.
Accessing the wsdl from the log page gives me this:
Is that what I'm supposed to be seeing?
The same problem is described in this post. My WEB-INF/web.xml appears to be set up correctly, however:
<servlet-mapping>
<servlet-name>SoapUIMockServlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
I have the foo.war under Tomcat's webapps directory. The context path is just '/foo'. I get the same problem with Jetty and JBoss, so it's not specific to Tomcat.
Accessing the wsdl from the log page gives me this:
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
</wsdl:definitions>
Is that what I'm supposed to be seeing?