WCF SOAP 1.2 service expecting SOAP 1.1 content type

后端 未结 3 758
没有蜡笔的小新
没有蜡笔的小新 2020-12-18 18:50

I\'m building a WCF web service that requires interop with non-WCF clients (in fact, there will be no WCF clients).

I\'ve already written a WSDL using SOAP 1.2 (as p

3条回答
  •  时光说笑
    2020-12-18 19:30

    Please check this link How to: Configure WCF Service to Interoperate with ASP.NET Web Service Clients .

    To configure a Windows Communication Foundation (WCF) service endpoint to be interoperable with ASP.NET Web service clients, use the System.ServiceModel.BasicHttpBinding type as the binding type for your service endpoint.

    Also, defining two endpoints you can use HTTP and HTTPS versions of the same service

提交回复
热议问题