SSL 및 WCF를 사용하여 웹 서비스를 작동시키는 데 문제가 있습니다. 내가 그것을 취소하는 경우WCF 및 SSL의 문제점
이WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/36097441 Exception: System.ServiceModel.ServiceActivationException: The service '/' cannot be activated due to an exception during compilation. The exception message is: Service 'ISS.MS.WebServices.MessageDispatch.MessageDispatchWebService' has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application, or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element.. ---> System.InvalidOperationException: Service 'ISS.MS.WebServices.MessageDispatch.MessageDispatchWebService' has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application, or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element.
그러나, 페이지 브라우저에서 미세로드하지만 그때 나는이 오류가 발생합니다 : 내가 IIS에 체크하면
은 내가이 오류가 다음 seeting "SSL 필요" 내가 전화를 걸 때.
Service 'ISS.MS.WebServices.MessageDispatch.MessageDispatchWebService' has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application, or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element.
이는 구성입니다 :
<system.serviceModel>
<services>
<service name="ISS.MS.WebServices.MessageDispatchWcfService">
<endpoint
address=""
binding="basicHttpBinding" bindingConfiguration="basicHttpBinding_MS2"
contract="ISS.MS.WebServices.IMessageDispatchWcfService" />
<endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceDebug includeExceptionDetailInFaults="False" />
<serviceMetadata httpsGetEnabled="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<basicHttpBinding>
<binding name="basicHttpBinding_MS2" >
<readerQuotas maxStringContentLength="1048576" />
<security mode="Transport">
</security>
</binding>
</basicHttpBinding>
</bindings>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true">
</serviceHostingEnvironment>
</system.serviceModel>
나는 그것이 정상적인 HTTP를 사용하여 완벽하게 작동 얻을 수 있지만, HTTPS에서 작동하지 않습니다.
IIS 설정 또는 WCF 구성 문제를 추측하고 있습니까?
당신을 감사하십시오. 이것은 방금 약 8 시간의 디버깅을 끝냈습니다. –