Quantcast
Channel: CodeProject Latest postings for ASP.NET
Viewing all articles
Browse latest Browse all 3938

Problem consuming soap web service - content mismatch

$
0
0
Hi all,
I need help about this problem:

I call from a wcf service another web service (a soap web service).
Now I receive following error message:

The content type application/xml; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were:

<?xmlversion=\"1.0\"?>\n<definitionsxmlns=\"http://schemas.xmlsoap.org/wsdl/\"xmlns:tns=\"http://xxx.xx.xxx.xxx/ws/servicexx/xx/web/xxxx/index?ws=1\"xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\"xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"xmlns:soap-enc=\"http://schemas.xmlsoap.org/soap/encoding/\"xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\"name=\"xx.xxx.xx.xxcontrollers.xxxxController\"[...]


I'm wrong or it seems wsdl ?
This is not the soap response.
I think that could be a mismatch between server and client (my wcf service) configuration.

Could you help me ?

Thanks in advance.

Viewing all articles
Browse latest Browse all 3938


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>