Forum Discussion
cortez
13 years agoOccasional Contributor
redfish4ktc2 wrote: Hi, did you still have the problem?
what is the soapui version you are using? did you test different versions?
Hi there. Yes, I'm still experiencing this problem. I'm currently running 4.6.0 (non Pro).
redfish4ktc2 wrote: I guess you don't have the issue when you run the mock from the soapui gui. Could you confirm?
Indeed not, everything works fine when I run the service from within SoapUI itself. I can issue requests using the internal request editors, and also externally using curl, or from browsers.
redfish4ktc2 wrote: Could you tell me how you generate the war? If you do it with from the gui, could you provide a screenshot to let us know with configuration you set to produce the war?
Indeed, see below. I tried various additional configurations, like specifying a global settings file, including jar files, and even disabling the Web UI, but none made any difference.
redfish4ktc2 wrote: Could you provide a screenshot of the pages you see when accessing to http://localhost:8080/foo/ and http://localhost:8080/foo/bar ?
OK, http://localhost:8080/foo/ looks like this (I've blanked out the name of my company; also 'foo' is obviously a placeholder):
Performing a simple GET request on /foo/bar results in a page that looks like this:
I don't know how to interpret that. It looks like the WebUI interface but with multiple expandable panels, each with their own vertical scrollbar. Strange. This is what is returned in the request editor (all the requests return this, which just looks like the HTML of the WebUI):
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=ISO-8859-1
Transfer-Encoding: chunked
Date: Thu, 07 Nov 2013 22:42:07 GMT
<html><head><title>soapUI MockServices Log for project [XXXXXXXX API Mock]</title></head><frameset rows="40%,40%,*"><frame src="master"/><frame name="detail" src="detail"/><frame src="log"/></frameset></html>
I get the same result whatever container I'm using - Tomcat, Jetty or JBoss.
redfish4ktc2 wrote: You talk about accessing the wsdl. Could you give more information as you also state you have a rest mock services?
To be honest I don't know very much at all about WSDLs. Indeed I thought they were a feature specific to SOAP. So I haven't created one or imported one.
One other thing that might be relevant: I named the service http://mock.example.com (where 'example.com' is a obviously a placeholder). Could this cause a problem? That subdomain hasn't actually been created yet, but we do intend to use it for our demos (using Swagger UI).
Thanks,
Christopher