我正在IIS6中运行C#Web服务并尝试通过SSL工作.在执行tcpdump时,它会将初始呼叫显示为https,但是通过http显示每个其他呼叫.我的SSL证书是自签名的,https在我的Web浏览器中工作正常.我正在为客户端使用PHP SoapClient.
有谁知道会导致什么?
在wsdl中,地址位置设置为http.这应该是https吗?我该如何改变它?
<wsdl:service name="Service">
<wsdl:port name="BasicHttpBinding_Service" binding="i0:BasicHttpBinding_Service">
<soap:address location="http://example.com/Service.svc"/>
</wsdl:port>
</wsdl:service>
Run Code Online (Sandbox Code Playgroud)