System.Web.Services.Protocols.Soap12FaultCodes.RpcBadArgumentsFaultCode Field

Represents the SOAP version 1.2 rpc:BadArguments fault subcode indicating that arguments sent to the XML Web service method were incorrect or could not be parsed.

Syntax

public static readonly System.Xml.XmlQualifiedName RpcBadArgumentsFaultCode

Remarks

ASP.NET does not automatically throw a System.Web.Services.Protocols.SoapException with the SoapFaultSubcode.Code property set to Soap12FaultCodes.RpcBadArgumentsFaultCode.

The System.Web.Services.Protocols.SoapException class has a SoapException.Subcode property of type System.Web.Services.Protocols.SoapFaultSubcode that represents the SOAP fault subcode. The SoapFaultSubcode.Code property represents the URI for the actual SOAP fault subcode. When setting the SoapFaultSubcode.Code property to Soap12FaultCodes.RpcBadArgumentsFaultCode, set the SoapException.Code property to Soap12FaultCodes.SenderFaultCode.

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0