cancel
Showing results for 
Search instead for 
Did you mean: 

WebUI in the Soap answer

4sxs_Consulting
New Contributor

WebUI in the Soap answer

Hello,

I created a soapui project with a mock service. I generated an WAR file and deployed it on a tomcat server.
Endpoint is http://xx.xx.xx.xx:8080/mock1. I can succesfully with soapui send requests and get the answers too.

I created a second SoapUI-projekt with a second mock service (other WSDL file), generated the war file and deploy it on the tomcat server too.
Endpoint is http://xx.xx.xx.xx:8080/mock2.
When I send a request on this endpoint I received the webui HTML code as a response:

<html>
<head>
<title>soapUI MockServices Log for project xxxxxxxx</title>
</head>
<frameset rows="40%,40%,*">
<frame src="master"/>
<frame name="detail" src="detail"/>
<frame src="log"/>
</frameset>
</html>


Am I doing something wrong?

Thanks and regards,
Matthieu
3 REPLIES 3

Re: WebUI in the Soap answer

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


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Sobana
Occasional Contributor

Re: WebUI in the Soap answer

@robert Even i am facing the same isue. I tried with the above solution however it still gives me the above mentioned response.

TanyaYatskovska
Community Manager

Re: WebUI in the Soap answer

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?

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors