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\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\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);