2011-07-27 116 views
0

这里是我的W¯¯CF web服务的我的配置文件:托管WCF IIS7上

<services> 
    <service behavior Configuration="METADATASERVICEEXTENSION" name="namespace.MYwebServiceclass"> 
    <endpoint address="" behaviorConfiguration="" binding="ws2007HttpBinding" 
     binding Configuration="xxx" name="xxx" contract="IMyWebService"> 
     <identity> 
     <dns value="" /> 
     <certificateReference yyyyyy="xxxxxx" find Value="" 
      ISCHAINincluded="false" /> 
     </identity> 
    </endpoint> 
    <endpoint address="mex" binding="mexHttpBinding" binding Configuration="" 
     name="Metadata Exchange" contract="IMetadataExchange" /> 
    </service> 
</services> 

我收到以下错误:找不到与绑定WS2007HttpBinding端点符合计划http的基址。注册的基地址方案是[HTTPS]。 - 我已将此服务配置为HTTPS:443,对我的web配置进行的任何更改?

这里是我的结合部分:

<bindings> 
    <ws2007HttpBinding> 
    <binding name="xxxxx"> 
     <security mode="None"> 
     <transport clientCredentialType="None" /> 
     <message clientCredentialType="None" negotiateServiceCredential="false" 
      establishSecurityContext="false" /> 
     </security> 
    </binding> 
    </ws2007HttpBinding> 
</bindings> 
+0

你能告诉你的绑定绑定部分? – Tim

+0

您的绑定配置丢失。 –

+0

它现在显示! – user834675

回答

1

尝试设置在安全元件为如下方式:

<security mode="transport"> 
+0

我试过了,我仍然看到相同的错误。 – user834675