10 references to Fault
System.Web.Services (10)
System\Web\Services\Description\SoapProtocolReflector.cs (2)
135
if ((soapHeader.direction & SoapHeaderDirection.
Fault
) != 0) {
137
throw new InvalidOperationException(Res.GetString(Res.BPConformanceHeaderFault, soapMethod.methodInfo.ToString(), soapMethod.methodInfo.DeclaringType.FullName, "Direction", typeof(SoapHeaderDirection).Name, SoapHeaderDirection.
Fault
.ToString()));
System\Web\Services\Protocols\Soap11ServerProtocol.cs (1)
100
SoapHeaderHandling.WriteHeaders(writer, ServerProtocol.ServerMethod.outHeaderSerializer, message.Headers, ServerProtocol.ServerMethod.outHeaderMappings, SoapHeaderDirection.
Fault
, ServerProtocol.ServerMethod.use == SoapBindingUse.Encoded, ServerType.serviceNamespace, ServerType.serviceDefaultIsEncoded, Soap.Namespace);
System\Web\Services\Protocols\Soap12ServerProtocol.cs (1)
119
SoapHeaderHandling.WriteHeaders(writer, ServerProtocol.ServerMethod.outHeaderSerializer, ServerProtocol.Message.Headers, ServerProtocol.ServerMethod.outHeaderMappings, SoapHeaderDirection.
Fault
, ServerProtocol.ServerMethod.use == SoapBindingUse.Encoded, ServerType.serviceNamespace, ServerType.serviceDefaultIsEncoded, Soap12.Namespace);
System\Web\Services\Protocols\SoapClientProtocol.cs (3)
103
if ((mapping.direction & (SoapHeaderDirection.Out | SoapHeaderDirection.
Fault
)) != 0)
661
headerHandler.ReadHeaders(reader, method.outHeaderSerializer, message.Headers, method.outHeaderMappings, SoapHeaderDirection.Out | SoapHeaderDirection.
Fault
, envelopeNs, method.use == SoapBindingUse.Encoded ? encodingNs : null, false);
702
SoapHeaderHandling.SetHeaderMembers(message.Headers, this, method.outHeaderMappings, SoapHeaderDirection.Out | SoapHeaderDirection.
Fault
, true);
System\Web\Services\Protocols\SoapReflector.cs (2)
474
if (soapMethod.oneWay && (direction & (SoapHeaderDirection.Out | SoapHeaderDirection.
Fault
)) != 0) throw HeaderException(headerAttribute.MemberName, methodInfo.DeclaringType, Res.WebHeaderOneWayOut);
501
if ((direction & (SoapHeaderDirection.Out | SoapHeaderDirection.
Fault
)) != 0)
System\Web\Services\Protocols\SoapServerProtocol.cs (1)
725
SoapHeaderHandling.GetHeaderMembers(message.Headers, this.Target, serverMethod.outHeaderMappings, SoapHeaderDirection.
Fault
, false);