Soap12FaultCodes::VersionMismatchFaultCode Field
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.
Assembly: System.Web.Services (in System.Web.Services.dll)
A SoapException is thrown with the 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 SoapException is thrown with the 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 VersionMismatchFaultCode. The two fields map to different qualified names, but you can check whether the Code property is either one of the fault codes by calling the IsVersionMismatchFaultCode method.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.