Forum Discussion
SmartBear_Suppo
13 years agoSmartBear Alumni (Retired)
Hello,
Hm..I do not how you configured mock service. You can check correct path to it if you check web.xml in WEB-INF folder, look for :
<servlet-mapping>
<servlet-name>SoapUIMockServlet</servlet-name>
<url-pattern><path goes here></url-pattern>
</servlet-mapping>
usually there stands '/*' that would mean that correct path would be made by service directory name in tomcat's webapp directory.
So, if your war file is mock.war and url-pattern is /* url is :
http://localhost:8080/mock
if url pattern is /mock1/* than url is:
http://localhost:8080/mock/mock1/
Hope this helps,
robert
/SmartBear
Hm..I do not how you configured mock service. You can check correct path to it if you check web.xml in WEB-INF folder, look for :
<servlet-mapping>
<servlet-name>SoapUIMockServlet</servlet-name>
<url-pattern><path goes here></url-pattern>
</servlet-mapping>
usually there stands '/*' that would mean that correct path would be made by service directory name in tomcat's webapp directory.
So, if your war file is mock.war and url-pattern is /* url is :
http://localhost:8080/mock
if url pattern is /mock1/* than url is:
http://localhost:8080/mock/mock1/
Hope this helps,
robert
/SmartBear
- Sobana5 years agoOccasional Contributor
@robert Even i am facing the same isue. I tried with the above solution however it still gives me the above mentioned response.
- TanyaYatskovska5 years agoSmartBear Alumni (Retired)
Hi Sobana,
A lot of things have changed since 2011. Could you please create a new topic and describe the issue you face in details?