Client found response content type of '', but expected 'text/xml'.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I have a simple web service which operates correctly. But when I try to add a SoapExtension, it always throws an exception:

	System.InvalidOperationException: Client found response content 	
	type of '', but expected 'text/xml'.

The extension does not, as yet, do anything; it is just a set of skeleton methods: Initialize(), ChainStream(), ProcessMessage(), etc. Is that the problem? The exception happens regardless of whether the extension is configured via method attributes or through a configuration file. Has anyone run into this before?
.



Quantcast