57 references to SoapHeaderDirection
System.Web.Services (57)
System\Web\Services\Description\SoapProtocolImporter.cs (11)
244internal SoapHeaderDirection direction; 543SoapHeaderDirection direction; 546direction = SoapHeaderDirection.In; 550direction = SoapHeaderDirection.Out; 608localHeader.direction = SoapHeaderDirection.InOut; 615if (soapHeader.direction == SoapHeaderDirection.Out) { 616AddMetadataProperty("Direction", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(SoapHeaderDirection).FullName), SoapHeaderDirection.Out.ToString())); 618else if (soapHeader.direction == SoapHeaderDirection.InOut) { 619AddMetadataProperty("Direction", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(SoapHeaderDirection).FullName), SoapHeaderDirection.InOut.ToString()));
System\Web\Services\Description\SoapProtocolReflector.cs (7)
108if ((soapHeader.direction & SoapHeaderDirection.In) != 0) { 110if (soapHeader.direction != SoapHeaderDirection.In) 130if ((soapHeader.direction & SoapHeaderDirection.In) != 0) 132if ((soapHeader.direction & SoapHeaderDirection.Out) != 0) 135if ((soapHeader.direction & SoapHeaderDirection.Fault) != 0) { 137throw 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)
100SoapHeaderHandling.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)
119SoapHeaderHandling.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 (9)
101if ((mapping.direction & SoapHeaderDirection.In) != 0) 103if ((mapping.direction & (SoapHeaderDirection.Out | SoapHeaderDirection.Fault)) != 0) 525SoapHeaderHandling.GetHeaderMembers(message.Headers, this, method.inHeaderMappings, SoapHeaderDirection.In, true); 568SoapHeaderHandling.WriteHeaders(writer, method.inHeaderSerializer, message.Headers, method.inHeaderMappings, SoapHeaderDirection.In, isEncoded, clientType.serviceNamespace, clientType.serviceDefaultIsEncoded, envelopeNs); 661headerHandler.ReadHeaders(reader, method.outHeaderSerializer, message.Headers, method.outHeaderMappings, SoapHeaderDirection.Out | SoapHeaderDirection.Fault, envelopeNs, method.use == SoapBindingUse.Encoded ? encodingNs : null, false); 702SoapHeaderHandling.SetHeaderMembers(message.Headers, this, method.outHeaderMappings, SoapHeaderDirection.Out | SoapHeaderDirection.Fault, true);
System\Web\Services\Protocols\SoapHeader.cs (7)
167internal SoapHeaderDirection direction; 188public SoapHeaderDirection Direction { 226public string ReadHeaders(XmlReader reader, XmlSerializer serializer, SoapHeaderCollection headers, SoapHeaderMapping[] mappings, SoapHeaderDirection direction, string envelopeNS, string encodingStyle, bool checkRequiredHeaders) { 291public static void WriteHeaders(XmlWriter writer, XmlSerializer serializer, SoapHeaderCollection headers, SoapHeaderMapping[] mappings, SoapHeaderDirection direction, bool isEncoded, string defaultNS, bool serviceDefaultIsEncoded, string envelopeNS) { 390public static void SetHeaderMembers(SoapHeaderCollection headers, object target, SoapHeaderMapping[] mappings, SoapHeaderDirection direction, bool client) { 437public static void GetHeaderMembers(SoapHeaderCollection headers, object target, SoapHeaderMapping[] mappings, SoapHeaderDirection direction, bool client) { 466static int FindMapping(SoapHeaderMapping[] mappings, SoapHeader header, SoapHeaderDirection direction) {
System\Web\Services\Protocols\SoapHeaderAttribute.cs (3)
24SoapHeaderDirection direction = SoapHeaderDirection.In; 48public SoapHeaderDirection Direction {
System\Web\Services\Protocols\SoapReflector.cs (9)
21internal SoapHeaderDirection direction; 473SoapHeaderDirection direction = headerAttribute.Direction; 474if (soapMethod.oneWay && (direction & (SoapHeaderDirection.Out | SoapHeaderDirection.Fault)) != 0) throw HeaderException(headerAttribute.MemberName, methodInfo.DeclaringType, Res.WebHeaderOneWayOut); 476SoapHeaderDirection prevDirection = (SoapHeaderDirection) headerTypes[soapHeader.headerType]; 499if ((direction & SoapHeaderDirection.In) != 0) 501if ((direction & (SoapHeaderDirection.Out | SoapHeaderDirection.Fault)) != 0)
System\Web\Services\Protocols\SoapServerMethod.cs (2)
226if (mapping.direction == SoapHeaderDirection.In) 228else if (mapping.direction == SoapHeaderDirection.Out)
System\Web\Services\Protocols\SoapServerProtocol.cs (7)
153if (mapping.direction == SoapHeaderDirection.In) 155else if (mapping.direction == SoapHeaderDirection.Out) 496SoapHeaderHandling.SetHeaderMembers(message.Headers, this.Target, serverMethod.inHeaderMappings, SoapHeaderDirection.In, false); 611string missingHeader = new SoapHeaderHandling().ReadHeaders(reader, serverMethod.inHeaderSerializer, message.Headers, serverMethod.inHeaderMappings, SoapHeaderDirection.In, helper.EnvelopeNs, serverMethod.use == SoapBindingUse.Encoded ? helper.EncodingNs : null, checkRequiredHeaders); 669SoapHeaderHandling.GetHeaderMembers(message.Headers, this.Target, serverMethod.outHeaderMappings, SoapHeaderDirection.Out, false); 702SoapHeaderHandling.WriteHeaders(writer, serverMethod.outHeaderSerializer, message.Headers, serverMethod.outHeaderMappings, SoapHeaderDirection.Out, isEncoded, serverType.serviceNamespace, serverType.serviceDefaultIsEncoded, helper.EnvelopeNs); 725SoapHeaderHandling.GetHeaderMembers(message.Headers, this.Target, serverMethod.outHeaderMappings, SoapHeaderDirection.Fault, false);