3 instantiations of AddressingVersion
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AddressingVersion.cs (3)
25private static AddressingVersion s_none = new AddressingVersion(AddressingNoneStrings.Namespace, XD.AddressingNoneDictionary.Namespace, 28private static AddressingVersion s_addressing10 = new AddressingVersion(Addressing10Strings.Namespace, 34private static AddressingVersion s_addressing200408 = new AddressingVersion(Addressing200408Strings.Namespace,
203 references to AddressingVersion
dotnet-svcutil-lib (203)
FrameworkFork\System.ServiceModel\System\ServiceModel\ActionMismatchAddressingException.cs (1)
40Fx.Assert(messageVersion.Addressing == AddressingVersion.WSAddressing10, "");
FrameworkFork\System.ServiceModel\System\ServiceModel\ActionNotSupportedException.cs (1)
18Contract.Assert(messageVersion.Addressing != AddressingVersion.None);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AddressHeader.cs (2)
216internal static void WriteStartHeader(XmlDictionaryWriter writer, AddressHeader parameter, AddressingVersion addressingVersion) 219if (addressingVersion == AddressingVersion.WSAddressing10)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Addressing.cs (51)
12private AddressingVersion _version; 14protected AddressingHeader(AddressingVersion version) 19internal AddressingVersion Version 45private ActionHeader(string action, AddressingVersion version) 66public static ActionHeader Create(string action, AddressingVersion addressingVersion) 75public static ActionHeader Create(XmlDictionaryString dictionaryAction, AddressingVersion addressingVersion) 89public static string ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion addressingVersion) 100public static ActionHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 119public DictionaryActionHeader(XmlDictionaryString dictionaryAction, AddressingVersion version) 137public FullActionHeader(string action, string actor, bool mustUnderstand, bool relay, AddressingVersion version) 167private FromHeader(EndpointAddress from, AddressingVersion version) 188public static FromHeader Create(EndpointAddress from, AddressingVersion addressingVersion) 202public static FromHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 217public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion addressingVersion) 229public FullFromHeader(EndpointAddress from, string actor, bool mustUnderstand, bool relay, AddressingVersion version) 259private FaultToHeader(EndpointAddress faultTo, AddressingVersion version) 285public static FaultToHeader Create(EndpointAddress faultTo, AddressingVersion addressingVersion) 294public static FaultToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 309public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version) 321public FullFaultToHeader(EndpointAddress faultTo, string actor, bool mustUnderstand, bool relay, AddressingVersion version) 353protected ToHeader(Uri to, AddressingVersion version) 364s_anonymousToHeader10 = new AnonymousToHeader(AddressingVersion.WSAddressing10); 385public static ToHeader Create(Uri toUri, XmlDictionaryString dictionaryTo, AddressingVersion addressingVersion) 392if (addressingVersion == AddressingVersion.WSAddressing10) 404public static ToHeader Create(Uri to, AddressingVersion addressingVersion) 412if (addressingVersion == AddressingVersion.WSAddressing10) 429public static Uri ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version) 434public static Uri ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version, UriCache uriCache) 453public static ToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, UriCache uriCache, 462if (version == AddressingVersion.WSAddressing10) 480public AnonymousToHeader(AddressingVersion version) 495public DictionaryToHeader(Uri to, XmlDictionaryString dictionaryTo, AddressingVersion version) 513public FullToHeader(Uri to, string actor, bool mustUnderstand, bool relay, AddressingVersion version) 544private ReplyToHeader(EndpointAddress replyTo, AddressingVersion version) 570s_anonymousReplyToHeader10 = new ReplyToHeader(EndpointAddress.AnonymousAddress, AddressingVersion.WSAddressing10); 576public static ReplyToHeader Create(EndpointAddress replyTo, AddressingVersion addressingVersion) 590public static ReplyToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 599if (version == AddressingVersion.WSAddressing10) 613public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version) 625public FullReplyToHeader(EndpointAddress replyTo, string actor, bool mustUnderstand, bool relay, AddressingVersion version) 655private MessageIDHeader(UniqueId messageId, AddressingVersion version) 676public static MessageIDHeader Create(UniqueId messageId, AddressingVersion addressingVersion) 690public static UniqueId ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version) 696public static MessageIDHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 717public FullMessageIDHeader(UniqueId messageId, string actor, bool mustUnderstand, bool relay, AddressingVersion version) 748private RelatesToHeader(UniqueId messageId, AddressingVersion version) 774public static RelatesToHeader Create(UniqueId messageId, AddressingVersion addressingVersion) 783public static RelatesToHeader Create(UniqueId messageId, AddressingVersion addressingVersion, Uri relationshipType) 806public static void ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version, out Uri relationshipType, out UniqueId messageId) 827public static RelatesToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, 851public FullRelatesToHeader(UniqueId messageId, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AddressingVersion.cs (6)
25private static AddressingVersion s_none = new AddressingVersion(AddressingNoneStrings.Namespace, XD.AddressingNoneDictionary.Namespace, 28private static AddressingVersion s_addressing10 = new AddressingVersion(Addressing10Strings.Namespace, 34private static AddressingVersion s_addressing200408 = new AddressingVersion(Addressing200408Strings.Namespace, 64public static AddressingVersion WSAddressingAugust2004 69public static AddressingVersion WSAddressing10 74public static AddressingVersion None
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FaultConverter.cs (4)
152else if (_version.Addressing == AddressingVersion.WSAddressing10) 200if (_version.Addressing == AddressingVersion.WSAddressing10) 205if (mhe.HeaderNamespace == AddressingVersion.WSAddressing10.Namespace) 218if (_version.Addressing != AddressingVersion.None)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingChannels.cs (1)
29: this(factory, settings, s_anonymousEndpointAddress, settings.MessageVersion.Addressing == AddressingVersion.None ? null : new Uri("http://www.w3.org/2005/08/addressing/anonymous"),
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (3)
404if (MessageVersion.Addressing == AddressingVersion.None && remoteAddress.Uri != via) 616if (MessageVersion.Addressing == AddressingVersion.None) 1039if (message.Version.Addressing == AddressingVersion.None)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageHelper.cs (1)
71if (message.Version.Addressing == AddressingVersion.None)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
74if (MessageVersion.Addressing == AddressingVersion.None && remoteAddress.Uri != via)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (2)
747if (this.Version.Addressing == AddressingVersion.None && headers[i].Namespace == AddressingVersion.None.Namespace)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageContent.cs (1)
91if (_message.Version.Addressing == AddressingVersion.None)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (6)
120AddressingVersion addressingVersion; 127addressingVersion = AddressingVersion.None; 132addressingVersion = AddressingVersion.None; 187AddressingVersion addressingVersion = WsdlImporter.WSAddressingHelper.FindAddressingVersion(context); 195private static void ApplyAddressingVersion(MessageEncodingBindingElement encodingBindingElement, AddressingVersion addressingVersion) 200&& addressingVersion != AddressingVersion.None)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeader.cs (1)
231if (version.Addressing == AddressingVersion.WSAddressing10)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (3)
951if (_version.Addressing == AddressingVersion.None) 1300if (_version.Addressing == AddressingVersion.None && reader.NamespaceURI == AddressingVersion.None.Namespace)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageVersion.cs (15)
13private AddressingVersion _addressing; 23s_none = new MessageVersion(EnvelopeVersion.None, AddressingVersion.None); 24s_soap11 = new MessageVersion(EnvelopeVersion.Soap11, AddressingVersion.None); 25s_soap12 = new MessageVersion(EnvelopeVersion.Soap12, AddressingVersion.None); 26s_soap11Addressing10 = new MessageVersion(EnvelopeVersion.Soap11, AddressingVersion.WSAddressing10); 27s_soap12Addressing10 = new MessageVersion(EnvelopeVersion.Soap12, AddressingVersion.WSAddressing10); 30private MessageVersion(EnvelopeVersion envelopeVersion, AddressingVersion addressingVersion) 38return CreateVersion(envelopeVersion, AddressingVersion.WSAddressing10); 41public static MessageVersion CreateVersion(EnvelopeVersion envelopeVersion, AddressingVersion addressingVersion) 55if (addressingVersion == AddressingVersion.WSAddressing10) 59else if (addressingVersion == AddressingVersion.None) 71if (addressingVersion == AddressingVersion.WSAddressing10) 75else if (addressingVersion == AddressingVersion.None) 87if (addressingVersion == AddressingVersion.None) 104public AddressingVersion Addressing
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (1)
409internal ChannelProtectionRequirements GetProtectionRequirements(AddressingVersion addressing, ProtectionLevel defaultProtectionLevel)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (1)
576if (!oneway && !ClientRuntime.ManualAddressing && rpc.Request.Version.Addressing != AddressingVersion.None)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (1)
164AddressingVersion addressing = MessageVersion.Default.Addressing;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElement.cs (3)
134private ChannelProtectionRequirements GetProtectionRequirements(AddressingVersion addressingVersion) 144AddressingVersion addressingVersion = AddressingVersion.WSAddressing10;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
853if (message.Version.Addressing != AddressingVersion.None || !_localAddress.IsAnonymous) 858if (message.Version.Addressing == AddressingVersion.None && message.Headers.Action == null)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DispatcherBuilder.cs (1)
373if (encoding != null && encoding.MessageVersion.Addressing == AddressingVersion.None)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataReference.cs (3)
21private AddressingVersion _addressVersion; 29public MetadataReference(EndpointAddress address, AddressingVersion addressVersion) 41public AddressingVersion AddressVersion
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (8)
595internal static void AddAddressToWsdlPort(WsdlNS.Port wsdlPort, EndpointAddress addr, AddressingVersion addressing) 597if (addressing == AddressingVersion.None) 606if (addressing == AddressingVersion.WSAddressing10) 610else if (addressing == AddressingVersion.WSAddressingAugust2004) 633internal static void AddWSAddressingAssertion(MetadataExporter exporter, PolicyConversionContext context, AddressingVersion addressVersion) 636if (addressVersion == AddressingVersion.WSAddressingAugust2004) 642else if (addressVersion == AddressingVersion.WSAddressing10) 692else if (addressVersion == AddressingVersion.None)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (8)
1052return AddressingVersion.WSAddressing10.DefaultFaultAction; 1084return EndpointAddress.ReadFrom(AddressingVersion.WSAddressing10, new XmlNodeReader(addressing10Element)); 1088return EndpointAddress.ReadFrom(AddressingVersion.WSAddressingAugust2004, new XmlNodeReader(addressing200408Element)); 1098internal static AddressingVersion FindAddressingVersion(PolicyConversionContext policyContext) 1104return AddressingVersion.WSAddressing10; 1110return AddressingVersion.WSAddressing10; 1116return AddressingVersion.WSAddressingAugust2004; 1120return AddressingVersion.None;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ChannelHandler.cs (2)
835AddressingVersion addressingVersion = _messageVersion.Addressing; 836if (addressingVersion != AddressingVersion.None && request.RequestMessage.Headers.Action == null)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (10)
90ActionHeader.Create(_action, AddressingVersion.None); 104ActionHeader.Create(_action, AddressingVersion.WSAddressing10); 119ActionHeader.Create(_replyAction, AddressingVersion.None); 133ActionHeader.Create(_replyAction, AddressingVersion.WSAddressing10); 161private ActionHeader GetActionHeader(AddressingVersion addressing) 168if (addressing == AddressingVersion.WSAddressing10) 172else if (addressing == AddressingVersion.None) 183private ActionHeader GetReplyActionHeader(AddressingVersion addressing) 190if (addressing == AddressingVersion.WSAddressing10) 194else if (addressing == AddressingVersion.None)
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (47)
72private AddressingVersion _addressingVersion; 86private EndpointAddress(AddressingVersion version, Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlBuffer buffer, int metadataSection, int extensionSection, int pspSection) 185private void Init(AddressingVersion version, Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlBuffer buffer, int metadataSection, int extensionSection, int pspSection) 311if (message.Version.Addressing == AddressingVersion.WSAddressing10) 315else if (message.Version.Addressing == AddressingVersion.WSAddressingAugust2004) 539AddressingVersion dummyVersion; 543internal static EndpointAddress ReadFrom(XmlDictionaryReader reader, out AddressingVersion version) 551if (reader.IsNamespaceUri(AddressingVersion.WSAddressing10.DictionaryNamespace)) 553version = AddressingVersion.WSAddressing10; 555else if (reader.IsNamespaceUri(AddressingVersion.WSAddressingAugust2004.DictionaryNamespace)) 557version = AddressingVersion.WSAddressingAugust2004; 577AddressingVersion version; 581internal static EndpointAddress ReadFrom(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns, out AddressingVersion version) 589if (reader.IsNamespaceUri(AddressingVersion.WSAddressing10.DictionaryNamespace)) 591version = AddressingVersion.WSAddressing10; 593else if (reader.IsNamespaceUri(AddressingVersion.WSAddressingAugust2004.DictionaryNamespace)) 595version = AddressingVersion.WSAddressingAugust2004; 613public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlReader reader) 618public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlReader reader, string localName, string ns) 632public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader) 645private static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns) 658private static EndpointAddress ReadFromDriver(AddressingVersion addressingVersion, XmlDictionaryReader reader) 669if (addressingVersion == AddressingVersion.WSAddressing10) 673else if (addressingVersion == AddressingVersion.WSAddressingAugust2004) 693internal static XmlBuffer ReadExtensions(XmlDictionaryReader reader, AddressingVersion version, XmlBuffer buffer, out EndpointIdentity identity, out int section) 757if (!reader.IsStartElement(XD.AddressingDictionary.Address, AddressingVersion.WSAddressingAugust2004.DictionaryNamespace)) 765if (reader.IsStartElement(XD.AddressingDictionary.ReferenceProperties, AddressingVersion.WSAddressingAugust2004.DictionaryNamespace)) 772if (reader.IsStartElement(XD.AddressingDictionary.ReferenceParameters, AddressingVersion.WSAddressingAugust2004.DictionaryNamespace)) 798if (reader.IsStartElement(XD.AddressingDictionary.PortType, AddressingVersion.WSAddressingAugust2004.DictionaryNamespace)) 812if (reader.IsStartElement(XD.AddressingDictionary.ServiceName, AddressingVersion.WSAddressingAugust2004.DictionaryNamespace)) 882buffer = ReadExtensions(reader, AddressingVersion.WSAddressingAugust2004, buffer, out identity, out extensionSection); 891uri = AddressingVersion.WSAddressingAugust2004.AnonymousUri; 898throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.InvalidUriValue, address, XD.AddressingDictionary.Address.Value, AddressingVersion.WSAddressingAugust2004.Namespace))); 942buffer = ReadExtensions(reader, AddressingVersion.WSAddressing10, buffer, out identity, out extensionSection); 951uri = AddressingVersion.WSAddressing10.AnonymousUri; 959uri = AddressingVersion.WSAddressing10.NoneUri; 1004public void WriteContentsTo(AddressingVersion addressingVersion, XmlDictionaryWriter writer) 1016if (addressingVersion == AddressingVersion.WSAddressing10) 1020else if (addressingVersion == AddressingVersion.WSAddressingAugust2004) 1024else if (addressingVersion == AddressingVersion.None) 1102if (reader.NamespaceURI == AddressingVersion.WSAddressingAugust2004.Namespace) 1159if (reader.NamespaceURI == AddressingVersion.WSAddressing10.Namespace) 1169public void WriteContentsTo(AddressingVersion addressingVersion, XmlWriter writer) 1175public void WriteTo(AddressingVersion addressingVersion, XmlDictionaryWriter writer) 1181public void WriteTo(AddressingVersion addressingVersion, XmlDictionaryWriter writer, XmlDictionaryString localName, XmlDictionaryString ns) 1204public void WriteTo(AddressingVersion addressingVersion, XmlWriter writer) 1216public void WriteTo(AddressingVersion addressingVersion, XmlWriter writer, string localName, string ns)
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageHeaderException.cs (2)
57Contract.Assert(messageVersion.Addressing == AddressingVersion.WSAddressing10); 59Message message = System.ServiceModel.Channels.Message.CreateMessage(messageVersion, phf, AddressingVersion.WSAddressing10.FaultAction);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (7)
909public virtual Collection<XmlElement> CreateWsspSupportingTokensAssertion(MetadataExporter exporter, Collection<SecurityTokenParameters> signed, Collection<SecurityTokenParameters> signedEncrypted, Collection<SecurityTokenParameters> endorsing, Collection<SecurityTokenParameters> signedEndorsing, Collection<SecurityTokenParameters> optionalSigned, Collection<SecurityTokenParameters> optionalSignedEncrypted, Collection<SecurityTokenParameters> optionalEndorsing, Collection<SecurityTokenParameters> optionalSignedEndorsing, AddressingVersion addressingVersion) 982protected XmlElement CreateWsspEndorsingSupportingTokensAssertion(MetadataExporter exporter, Collection<SecurityTokenParameters> endorsing, Collection<SecurityTokenParameters> optionalEndorsing, AddressingVersion addressingVersion) 987protected XmlElement CreateWsspSignedEndorsingSupportingTokensAssertion(MetadataExporter exporter, Collection<SecurityTokenParameters> signedEndorsing, Collection<SecurityTokenParameters> optionalSignedEndorsing, AddressingVersion addressingVersion) 992protected XmlElement CreateWsspiSupportingTokensAssertion(MetadataExporter exporter, Collection<SecurityTokenParameters> endorsing, Collection<SecurityTokenParameters> optionalEndorsing, AddressingVersion addressingVersion, string assertionName) 1026if (addressingVersion != null && AddressingVersion.None != addressingVersion) 2289metadataSet.MetadataSections.Add(new MetadataSection(null, null, new MetadataReference(issuerMetadataAddress, AddressingVersion.WSAddressing10))); 2309addressToSerialize.WriteContentsTo(AddressingVersion.WSAddressing10, writer);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy12.cs (1)
131public override Collection<XmlElement> CreateWsspSupportingTokensAssertion(MetadataExporter exporter, Collection<SecurityTokenParameters> signed, Collection<SecurityTokenParameters> signedEncrypted, Collection<SecurityTokenParameters> endorsing, Collection<SecurityTokenParameters> signedEndorsing, Collection<SecurityTokenParameters> optionalSigned, Collection<SecurityTokenParameters> optionalSignedEncrypted, Collection<SecurityTokenParameters> optionalEndorsing, Collection<SecurityTokenParameters> optionalSignedEndorsing, AddressingVersion addressingVersion)
FrameworkFork\System.ServiceModel\System\ServiceModel\WSAddressing10ProblemHeaderQNameFault.cs (7)
27AddressingVersion.WSAddressing10.Namespace, 29AddressingVersion.WSAddressing10.Namespace))); 35AddressingVersion.WSAddressing10.Namespace)); 47new FaultCode(Addressing10Strings.ActionMismatch, AddressingVersion.WSAddressing10.Namespace)); 105writer.WriteStartElement(Addressing10Strings.ProblemHeaderQName, AddressingVersion.WSAddressing10.Namespace); 106writer.WriteQualifiedName(_invalidHeaderName, AddressingVersion.WSAddressing10.Namespace); 134get { return AddressingVersion.WSAddressing10.Namespace; }