+2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
+
+ * MessageHeader.cs, MessageHeaderInfo.cs: add internal Prefix
+ property and copy them from source to destination.
+
2010-07-09 Atsushi Enomoto <atsushi@ximian.com>
* MessageImpl.cs : When XmlReaderMessage was writing its contents,
{
var dic = Constants.SoapDictionary;
XmlDictionaryString name, ns;
- var prefix = Namespace.Length > 0 ? writer.LookupPrefix (Namespace) : String.Empty;
+ var prefix = Prefix ?? (Namespace.Length > 0 ? writer.LookupPrefix (Namespace) : String.Empty);
if (dic.TryLookup (Name, out name) && dic.TryLookup (Namespace, out ns))
writer.WriteStartElement (prefix, name, ns);
else
public RawMessageHeader (XmlReader reader, string soap_ns)
{
+ Prefix = reader.Prefix;
Id = reader.GetAttribute ("Id", Constants.WsuNamespace);
string s = reader.GetAttribute ("relay", soap_ns);