Forum Discussion

tim's avatar
tim
Contributor
17 years ago

Strange behavior with MockService

Here are the steps I go through.

  • I import a wsdl

  • I send a request to the endpoint described in the wsdl

  • I use the response as the basis for my mock service response

  • I send a request to the mock service

  • Everything works fine


If I launch this mock service from the mock service runner script, I get the following error:

15:04:42,039 DEBUG [MockEngine] OverloadedDocSoap MockService was unable to dispatch mock request
com.eviware.soapui.impl.wsdl.mock.DispatchException: com.eviware.soapui.impl.wsdl.mock.DispatchException: Missing operation for soapAction [http://tempuri.org/overload] and bo
dy element [{http://tempuri.org/}tilt] with SOAP Version [SOAP 1.1]


I also receive this error if I restart my soapUI app (GUI) and then start the same mock service again.
Is there a problem with my wsdl? I've attached the wsdl.

3 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi again,

    there seems to be an issue with the WSDL; you have two operations with the same name ("overload"), could you please try making these unique to see if that helps?

    regards!

    /Ole
    eviware.com
  • tim's avatar
    tim
    Contributor
    That was a very good suggestion. It solved my problem.