System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (5)
90serializer.Serialize(bufferWriter, headerValues, null, isEncoded ? GetEncoding(message.Version.Envelope) : null);
101message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.LocalName, element.NamespaceURI,
113message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.LocalName, element.NamespaceURI,
125message.Headers.Add(new XmlElementMessageHeader(this, message.Version, element.LocalName, element.NamespaceURI,
223object[] headerValues = (object[])serializer.Deserialize(bufferReader, isEncoded ? GetEncoding(message.Version.Envelope) : null);
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (14)
455subCode = new FaultCode(AddressingStrings.EndpointUnavailable, request.Version.Addressing.Namespace);
475Message faultReply = Message.CreateMessage(request.Version, fault, request.Version.Addressing.DefaultFaultAction);
896if (appliesToName == AddressingStrings.EndpointReference && appliesToNamespace == request.Version.Addressing.Namespace)
898if (request.Version.Addressing == AddressingVersion.WSAddressing10)
903else if (request.Version.Addressing == AddressingVersion.WSAddressingAugust2004)
911new ProtocolException(SR.GetString(SR.AddressingVersionNotSupported, request.Version.Addressing)));
927if (request.Version.Addressing == AddressingVersion.WSAddressing10)
931else if (request.Version.Addressing == AddressingVersion.WSAddressingAugust2004)
938new ProtocolException(SR.GetString(SR.AddressingVersionNotSupported, request.Version.Addressing)));
998Message reply = Message.CreateMessage(request.Version, ActionHeader.Create(action, request.Version.Addressing), body);
1005return Message.CreateMessage(request.Version, ActionHeader.Create(action, request.Version.Addressing), body);
System\ServiceModel\Security\SecuritySessionServerSettings.cs (11)
1706using (Message faultMessage = Message.CreateMessage(unverifiedMessage.Version, fault, unverifiedMessage.Version.Addressing.DefaultFaultAction))
1896response = Message.CreateMessage(message.Version, renewFault, DotNetSecurityStrings.SecuritySessionFaultAction);
1901response = Message.CreateMessage(message.Version, renewFault, DotNetSecurityStrings.SecuritySessionFaultAction);
1961Message response = Message.CreateMessage(request.Version, ActionHeader.Create(this.Settings.SecurityStandardsManager.SecureConversationDriver.CloseResponseAction, request.Version.Addressing), bodyWriter);
2074if (closeMessage.Version.Addressing == AddressingVersion.WSAddressing10)
2078else if (closeMessage.Version.Addressing == AddressingVersion.WSAddressingAugust2004)
2085new ProtocolException(SR.GetString(SR.AddressingVersionNotSupported, closeMessage.Version.Addressing)));
4710Message faultMessage = Message.CreateMessage(message.Version, fault, message.Version.Addressing.DefaultFaultAction);