Forum Discussion

Achin_Gupta's avatar
Achin_Gupta
Occasional Contributor
16 years ago

InvalidOperationException

Hi,

I have mocked a Web Service in Soap UI and am trying to calling it form my application but i receive the following error:

"Client found response content type of 'text/html-charset-ISO-8859-1' but expected 'text/Xml"

Please help me out in solving this issue as it is very critical for my project.

Thanks & Regards,
Achin

1 Reply

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi!

    The error indicates that soapUI is returning an HTML page, are you sure you are specifying the correct endpoint when calling the mockservice? Can you enable the MockService HTTP log to see the incoming request? (in the HTTP Preferences of version 2.5)

    regards!

    /Ole
    eviware.com