Soap12FaultCodes.VersionMismatchFaultCode Field
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 Configuration Options for XML Web Services Created Using ASP.NET.
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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.