[Mono-bugs] [Bug 77647][Wis] New - Exceptions Remoting interop with MS.NET fails

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Feb 26 08:10:27 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by roeie at mainsoft.com.

http://bugzilla.ximian.com/show_bug.cgi?id=77647

--- shadow/77647	2006-02-26 08:10:27.000000000 -0500
+++ shadow/77647.tmp.8891	2006-02-26 08:10:27.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 77647
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: roeie at mainsoft.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Exceptions Remoting interop with MS.NET fails
+
+Description of Problem:
+
+when using mono as server and .net as remote client, and trying to invoke 
+a method that throws Exception of any type (for example System.Exception),
+the client throws System.Net.WebException and not the original exception
+
+Steps to reproduce the problem:
+just run a simple program that invokes a remote call that throws 
+exception and try to catch the exception from the client, while the 
+client should be running on Ms.NET platform , and the server on Mono 
+platform
+
+Actual Results:
+
+A System.Net.WebException is thrown instead of the original one
+
+Expected Results:
+
+The original exception should be thrown
+
+How often does this happen? 
+
+every time
+
+Additional Information:
+
+The problem seems to be related to diffenet status codes that mono uses 
+than Ms.NET in the soap header.
+In .Net all exception with status code between 500 and 599 thrown as real 
+exception and all other thrown as WebException
+In Mono, the exception with status code == 500 thrown as WebException and 
+all other as real.


More information about the mono-bugs mailing list