1

多くのWCFサービスを使用する大規模なプロジェクトを維持していますが、特定のユーザーがサイトにログインすると、このエラーが発生します

The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+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: ' '.

これの原因が何であるか、またどこで修正するかはわかりません。何か案は?

4

1 に答える 1

4

問題は、リモートWCFサービスにエラーがあり、応答のタイプがtext / htmlであり、成功メッセージの応答タイプとは異なることでした。将来この種の問題を抱えている人のためだけに。

于 2012-09-14T08:52:02.297 に答える