Represents the SOAP version 1.2 VersionMismatch fault code indicating the XML Web service expected SOAP messages conforming to the SOAP 1.2 specification, yet received one conforming to SOAP 1.1.
A System.Web.Services.Protocols.SoapException is thrown with the SoapException.Code property set to Soap12FaultCodes.VersionMismatchFaultCode when an XML Web service is configured to only accept SOAP 1.2 requests and it receives a SOAP 1.1 message. Likewise, if an XML Web service is configured to accept only SOAP 1.1 messages and it receives a SOAP 1.2 message, a System.Web.Services.Protocols.SoapException is thrown with the SoapException.Code property set to SoapException.VersionMismatchFaultCode. For details on configuring XML Web services, see [<topic://cpconConfigurationOptionsForASPNETWebServices>].
Both SOAP 1.1 and 1.2 define VersionMismatch SOAP fault codes that differ on the version of the SOAP protocol expected. This field represents the SOAP 1.2 version, whereas the SOAP 1.1 version is represented by SoapException.VersionMismatchFaultCode. The two fields map to different qualified names, but you can check whether the SoapException.Code property is either one of the fault codes by calling the SoapException.IsVersionMismatchFaultCode(System.Xml.XmlQualifiedName) method.