https://bugzilla.novell.com/show_bug.cgi?id=337421
Summary: SoapException (SerializationInfo info, StreamingContext
context) does not execute base constructor
Product: Mono: Class Libraries
Version: 1.2
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Web.Services
AssignedTo: atsushi at ximian.com
ReportedBy: luisfam at hotmail.com
QAContact: mono-bugs at ximian.com
Found By: System Test
Created an attachment (id=180950)
--> (https://bugzilla.novell.com/attachment.cgi?id=180950)
Sample program to serialize and deserialize a SoapException.
Description of Problem:
When deserializing a SoapException the base Exception constructor is not
executed. This causes the base properties to be null since it does not load
them from the SerializationInfo class.
Steps to reproduce the problem:
I have attached a sample program that reproduces the problem.
Actual Results:
Message before serialization: "my soap message". InnerException is null? False
Message after serialization: "A system exception has occurred.". InnerException
is null? True
Expected Results:
Message before serialization: "my soap message". InnerException is null? False
Message after serialization: "my soap message". InnerException is null? False
How often does this happen?
Every time.
Additional Information:
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.