我一直在试图找出在使用WCF BasicHTTPBinding生成的WSDL中正在使用哪个版本的SOAP 1.1/1.2。但我一直无法指出。WCF BasicHttpBinding - 我在哪里可以找到WSDL中的SOAP1.1
我需要确认一下,以便我可以告诉我客户我们正在使用特定版本的SOAP。要求是使用SOAP 1.1。从我读的BasicHttpBinding使用SOAP1.1,但无法找到或检查。
有人可以请帮忙。 例如
<wsdl:definitions name="MyService" targetNamespace="http://mydomain.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://spotless.com/isb/services" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
Thanks @Ladislav Mrnka,你是WCF genious。谢谢 –
这与WCF本身没什么关系 - WSDL是可互操作的方式来描述服务。 –