IIS에 WCF 프로젝트를 방금 배포했습니다.WCF 콘텐츠 형식이 일치하지 않습니다.
The document was understood, but it could not be processed.
- The WSDL document contains links that could not be resolved.
- There was an error downloading 'http://server1.local/WCFServices/serv1/serv1.svc?xsd=xsd0'.
- The underlying connection was closed: An unexpected error occurred on a receive.
- Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
- An existing connection was forcibly closed by the remote host
Metadata contains a reference that cannot be resolved: 'http://server1.local/WCFServices/serv1/serv1.svc?wsdl'.
Content Type application/soap+xml; charset=utf-8 was not supported by service http://server1.local/WCFServices/serv1/serv1.svc?wsdl. The client and service bindings may be mismatched.
The remote server returned an error: (415) Cannot process the message because the content type 'application/soap+xml; charset=utf-8' was not the expected type 'text/xml; charset=utf-8'..
If the service is defined in the current solution, try building the solution and adding the service reference again.
그래서 내가 그렇다고 얻을 문제가있다 : 나는 테스트 프로젝트에 서비스 참조를 추가 할 때
는 그러나 Visual Studio는 다음과 같은 수 있습니다. 서비스의 컨텐츠 유형이 클라이언트가 기대하는 것과 일치하지 않습니다.
그래서 어떻게 수정합니까?
mex 끝점을 포함하여 구성을 게시 할 수 있습니까? – CodingWithSpike