https://bugzilla.novell.com/show_bug.cgi?id=404128

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=404128#c1


Robert Jordan <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]
           Severity|Blocker                                         |Normal
            Summary|Error in SoapFormatter                          
|SoapFormatter does not support custom headers




--- Comment #1 from Robert Jordan <[EMAIL PROTECTED]>  2008-06-26 09:40:24 MDT 
---
Subject, severity changed. Attached a smaller test case.


using System;
using System.IO;
using System.Runtime.Remoting.Messaging;
using System.Runtime.Serialization.Formatters;
using System.Runtime.Serialization.Formatters.Soap;

[Serializable]
class T
{
        static void Main ()
        {
                SoapFormatter formatter = new SoapFormatter ();

                MemoryStream ms = new MemoryStream();
                Header[] headers = new[] {
                        new Header("A", "B")
                };

                formatter.Serialize(ms, new T (), headers);
                ms.Position = 0;

                object o = formatter.Deserialize(ms);
                Console.WriteLine(o.GetType() == typeof (T));
        }
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to