Forum Discussion

eddie7's avatar
15 years ago

There are currently 1 running soapUI MockServices

Hi,

I have a running MockService which worked fine the last time I used it.

Today I get the following response instead of the expected one:
<html><body><p>There are currently 1 running soapUI MockServices</p><ul><li><a href="/mockbasicHttp?WSDL">basicHttp MockService</a></li></ul></p></body></html>


The request is absolutely the same as before, and I am not aware of any changes I did (of course there has to be one...).
What are "usual" reasons for such messages instead of SOAP responses?

Regards,
Eddie
  • I am having the same issue, SoapUI is returning text/html instead of text/xml and the following message:

    MockResponse: <html><body><p>There are currently 1 running soapUI MockServices</p><ul><li><a href="/mockRemoteServiceMgmtSvcBinding?WSDL">RemoteServiceMgmtSvcBinding MockService</a></li></ul></p></body></html>


    Does anyone know why this might happen?

    Much appreciated,
  • Hi!

    hmm.. SOAP responses are only returned for POST requests, this message is shown for GET requests.. could that be the source of the error?

    regards!

    /Ole
    eviware.com
  • Hi!

    I have the same issue, all work fine but after reboot the PC stop working.

    BTW my request use the POST method, here my code

    var data&colon;String = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:mov=\"http://localhost:8088/Services\">"+
    "<soapenv:Header/>"+
    "<soapenv:Body>"+
    "<mov:"+serviceName+">"+
    params+
    "</mov:"+serviceName+">"+
    "</soapenv:Body>"+
    "</soapenv:Envelope>";

    urlRequest.method = URLRequestMethod.POST;
    urlRequest.data = data;
    urlRequest.requestHeaders.push(new URLRequestHeader("Content-Type", "application/soap+xml"));

    var loader:URLLoader = new URLLoader();
    loader.dataFormat = URLLoaderDataFormat.TEXT;
    loader.load(urlRequest);