System\ServiceModel\Channels\Addressing.cs (53)
13AddressingVersion version;
15protected AddressingHeader(AddressingVersion version)
20internal AddressingVersion Version
46ActionHeader(string action, AddressingVersion version)
67public static ActionHeader Create(string action, AddressingVersion addressingVersion)
76public static ActionHeader Create(XmlDictionaryString dictionaryAction, AddressingVersion addressingVersion)
90public static string ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion addressingVersion)
101public static ActionHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version,
120public DictionaryActionHeader(XmlDictionaryString dictionaryAction, AddressingVersion version)
138public FullActionHeader(string action, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
168FromHeader(EndpointAddress from, AddressingVersion version)
189public static FromHeader Create(EndpointAddress from, AddressingVersion addressingVersion)
203public static FromHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version,
218public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion addressingVersion)
230public FullFromHeader(EndpointAddress from, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
260FaultToHeader(EndpointAddress faultTo, AddressingVersion version)
286public static FaultToHeader Create(EndpointAddress faultTo, AddressingVersion addressingVersion)
295public static FaultToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version,
310public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version)
322public FullFaultToHeader(EndpointAddress faultTo, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
355protected ToHeader(Uri to, AddressingVersion version)
366anonymousToHeader10 = new AnonymousToHeader(AddressingVersion.WSAddressing10);
376anonymousToHeader200408 = new AnonymousToHeader(AddressingVersion.WSAddressingAugust2004);
396public static ToHeader Create(Uri toUri, XmlDictionaryString dictionaryTo, AddressingVersion addressingVersion)
403if (addressingVersion == AddressingVersion.WSAddressing10)
414public static ToHeader Create(Uri to, AddressingVersion addressingVersion)
422if (addressingVersion == AddressingVersion.WSAddressing10)
438public static Uri ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version)
443public static Uri ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version, UriCache uriCache)
462public static ToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, UriCache uriCache,
471if (version == AddressingVersion.WSAddressing10)
489public AnonymousToHeader(AddressingVersion version)
504public DictionaryToHeader(Uri to, XmlDictionaryString dictionaryTo, AddressingVersion version)
522public FullToHeader(Uri to, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
554ReplyToHeader(EndpointAddress replyTo, AddressingVersion version)
580anonymousReplyToHeader10 = new ReplyToHeader(EndpointAddress.AnonymousAddress, AddressingVersion.WSAddressing10);
590anonymousReplyToHeader200408 = new ReplyToHeader(EndpointAddress.AnonymousAddress, AddressingVersion.WSAddressingAugust2004);
595public static ReplyToHeader Create(EndpointAddress replyTo, AddressingVersion addressingVersion)
609public static ReplyToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version,
618if (version == AddressingVersion.WSAddressing10)
631public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version)
643public FullReplyToHeader(EndpointAddress replyTo, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
673MessageIDHeader(UniqueId messageId, AddressingVersion version)
694public static MessageIDHeader Create(UniqueId messageId, AddressingVersion addressingVersion)
708public static UniqueId ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version)
714public static MessageIDHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version,
735public FullMessageIDHeader(UniqueId messageId, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
766RelatesToHeader(UniqueId messageId, AddressingVersion version)
792public static RelatesToHeader Create(UniqueId messageId, AddressingVersion addressingVersion)
801public static RelatesToHeader Create(UniqueId messageId, AddressingVersion addressingVersion, Uri relationshipType)
824public static void ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version, out Uri relationshipType, out UniqueId messageId)
845public static RelatesToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version,
869public FullRelatesToHeader(UniqueId messageId, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
System\ServiceModel\Channels\MessageVersion.cs (20)
16AddressingVersion addressing;
27none = new MessageVersion(EnvelopeVersion.None, AddressingVersion.None);
28soap11 = new MessageVersion(EnvelopeVersion.Soap11, AddressingVersion.None);
29soap12 = new MessageVersion(EnvelopeVersion.Soap12, AddressingVersion.None);
30soap11Addressing10 = new MessageVersion(EnvelopeVersion.Soap11, AddressingVersion.WSAddressing10);
31soap12Addressing10 = new MessageVersion(EnvelopeVersion.Soap12, AddressingVersion.WSAddressing10);
32soap11Addressing200408 = new MessageVersion(EnvelopeVersion.Soap11, AddressingVersion.WSAddressingAugust2004);
33soap12Addressing200408 = new MessageVersion(EnvelopeVersion.Soap12, AddressingVersion.WSAddressingAugust2004);
36MessageVersion(EnvelopeVersion envelopeVersion, AddressingVersion addressingVersion)
44return CreateVersion(envelopeVersion, AddressingVersion.WSAddressing10);
47public static MessageVersion CreateVersion(EnvelopeVersion envelopeVersion, AddressingVersion addressingVersion)
61if (addressingVersion == AddressingVersion.WSAddressing10)
65else if (addressingVersion == AddressingVersion.WSAddressingAugust2004)
69else if (addressingVersion == AddressingVersion.None)
81if (addressingVersion == AddressingVersion.WSAddressing10)
85else if (addressingVersion == AddressingVersion.WSAddressingAugust2004)
89else if (addressingVersion == AddressingVersion.None)
101if (addressingVersion == AddressingVersion.None)
118public AddressingVersion Addressing
143if (this.Addressing == AddressingVersion.WSAddressingAugust2004)
System\ServiceModel\EndpointAddress.cs (47)
73AddressingVersion addressingVersion;
87EndpointAddress(AddressingVersion version, Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlBuffer buffer, int metadataSection, int extensionSection, int pspSection)
186void Init(AddressingVersion version, Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlBuffer buffer, int metadataSection, int extensionSection, int pspSection)
313if (message.Version.Addressing == AddressingVersion.WSAddressing10)
317else if (message.Version.Addressing == AddressingVersion.WSAddressingAugust2004)
541AddressingVersion dummyVersion;
545internal static EndpointAddress ReadFrom(XmlDictionaryReader reader, out AddressingVersion version)
553if (reader.IsNamespaceUri(AddressingVersion.WSAddressing10.DictionaryNamespace))
555version = AddressingVersion.WSAddressing10;
557else if (reader.IsNamespaceUri(AddressingVersion.WSAddressingAugust2004.DictionaryNamespace))
559version = AddressingVersion.WSAddressingAugust2004;
579AddressingVersion version;
583internal static EndpointAddress ReadFrom(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns, out AddressingVersion version)
591if (reader.IsNamespaceUri(AddressingVersion.WSAddressing10.DictionaryNamespace))
593version = AddressingVersion.WSAddressing10;
595else if (reader.IsNamespaceUri(AddressingVersion.WSAddressingAugust2004.DictionaryNamespace))
597version = AddressingVersion.WSAddressingAugust2004;
615public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlReader reader)
620public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlReader reader, string localName, string ns)
634public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader)
647public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns)
660static EndpointAddress ReadFromDriver(AddressingVersion addressingVersion, XmlDictionaryReader reader)
671if (addressingVersion == AddressingVersion.WSAddressing10)
675else if (addressingVersion == AddressingVersion.WSAddressingAugust2004)
695internal static XmlBuffer ReadExtensions(XmlDictionaryReader reader, AddressingVersion version, XmlBuffer buffer, out EndpointIdentity identity, out int section)
759if (!reader.IsStartElement(XD.AddressingDictionary.Address, AddressingVersion.WSAddressingAugust2004.DictionaryNamespace))
767if (reader.IsStartElement(XD.AddressingDictionary.ReferenceProperties, AddressingVersion.WSAddressingAugust2004.DictionaryNamespace))
774if (reader.IsStartElement(XD.AddressingDictionary.ReferenceParameters, AddressingVersion.WSAddressingAugust2004.DictionaryNamespace))
800if (reader.IsStartElement(XD.AddressingDictionary.PortType, AddressingVersion.WSAddressingAugust2004.DictionaryNamespace))
814if (reader.IsStartElement(XD.AddressingDictionary.ServiceName, AddressingVersion.WSAddressingAugust2004.DictionaryNamespace))
884buffer = ReadExtensions(reader, AddressingVersion.WSAddressingAugust2004, buffer, out identity, out extensionSection);
893uri = AddressingVersion.WSAddressingAugust2004.AnonymousUri;
900throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.InvalidUriValue, address, XD.AddressingDictionary.Address.Value, AddressingVersion.WSAddressingAugust2004.Namespace)));
944buffer = ReadExtensions(reader, AddressingVersion.WSAddressing10, buffer, out identity, out extensionSection);
953uri = AddressingVersion.WSAddressing10.AnonymousUri;
961uri = AddressingVersion.WSAddressing10.NoneUri;
1006public void WriteContentsTo(AddressingVersion addressingVersion, XmlDictionaryWriter writer)
1018if (addressingVersion == AddressingVersion.WSAddressing10)
1022else if (addressingVersion == AddressingVersion.WSAddressingAugust2004)
1026else if (addressingVersion == AddressingVersion.None)
1104if (reader.NamespaceURI == AddressingVersion.WSAddressingAugust2004.Namespace)
1161if (reader.NamespaceURI == AddressingVersion.WSAddressing10.Namespace)
1171public void WriteContentsTo(AddressingVersion addressingVersion, XmlWriter writer)
1177public void WriteTo(AddressingVersion addressingVersion, XmlDictionaryWriter writer)
1183public void WriteTo(AddressingVersion addressingVersion, XmlDictionaryWriter writer, XmlDictionaryString localName, XmlDictionaryString ns)
1206public void WriteTo(AddressingVersion addressingVersion, XmlWriter writer)
1218public void WriteTo(AddressingVersion addressingVersion, XmlWriter writer, string localName, string ns)
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)
2290metadataSet.MetadataSections.Add(new MetadataSection(null, null, new MetadataReference(issuerMetadataAddress, AddressingVersion.WSAddressing10)));
2309addressToSerialize.WriteContentsTo(AddressingVersion.WSAddressing10, writer);