Creé el servicio WCF y las pruebas del cliente WCF mediante una aplicación independiente. Pude ver este servicio utilizando Internet Explorer y también pude ver en las referencias del servicio de Visual Studio. Aquí está el mensaje de error.El tipo de contenido text/html; charset = UTF-8 del mensaje de respuesta no coincide con el tipo de contenido del enlace (text/xml; charset = utf-8)
"The content type text/html; charset=UTF-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8)."
Podría usted por favor consejo lo que podría estar mal?
Gracias.
sentimos que me llevó mucho tiempo para venir a este problema. Gracias por la respuesta. Aquí hay algunos datos de Fiddler. – nav100
Aquí hay algunos encabezados de datos de Fiddler. GET /_vti_bin/psi/helloservice.svc HTTP/1.1 Content-Type: text/xml; charset = utf-8 MicrosoftSharePointTeamServices: 14.0.0.4762 Servidor: Microsoft-IIS/7.5 X-AspNet-Version: 2.0.50727 X-SharePointHealthScore: 4 – nav100
@ nav100: intente ejecutar su aplicación y reproducir el error indicado con Fiddler ejecutándose. Puede que tenga que modificar los puntos finales y la configuración de su cliente WCF para que WCF se conecte a través de Fiddler. –