cancel
Showing results for 
Search instead for 
Did you mean: 

InvalidOperationException

Highlighted
Occasional Contributor

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 1
Highlighted
Super Contributor

Re: InvalidOperationException

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
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors