我在BizTalk中有一个WCF自定义传输类型接收位置,URI就像https://productionenv.com/TPService/WcfService_TP_Orchestrations.svc。
绑定类型是wsHttpBinding,安全模式是传输。在serviceMetadata中,httpsGetEnabled设置为True。
然而,当我在IE中打开相应的Web服务时,我创建的预期命名空间不会显示如下:
<sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<wsp:Policy>
<sp:TransportToken>
<wsp:Policy>
<sp:HttpsToken RequireClientCertificate="false" />
</wsp:Policy>
</sp:TransportToken>
<sp:AlgorithmSuite>
<wsp:Policy>
<sp:Basic256 />
</wsp:Policy>
</sp:AlgorithmSuite>
<sp:Layout>
<wsp:Policy>
<sp:Strict />
</wsp:Policy>
</sp:Layout>
</wsp:Policy>
</sp:TransportBinding>
<wsaw:UsingAddressing />
</wsp:All>
</wsp:ExactlyOne>
</wsp:Policy>
<wsdl:import namespace="http://www.microsoft.com/biztalk/2006/r2/wcf-adapter" location="https://productionenv.com/TPService/WcfService_TP_Orchestrations.svc?wsdl=wsdl0" />
也许我在web.config部分或WCF-Custom Receive Loc本身中遗漏了导致此问题的任何内容?