[Mono-bugs] [Bug 74555][Nor] New - Remoting: SOAP formatter capitalizes boolean value -> Exception

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 9 Apr 2005 14:37:56 -0400 (EDT)

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 dbjobs@snafu.de.


--- shadow/74555	2005-04-09 14:37:56.000000000 -0400
+++ shadow/74555.tmp.23800	2005-04-09 14:37:56.000000000 -0400
@@ -0,0 +1,53 @@
+Bug#: 74555
+Product: Mono: Class Libraries
+Version: 1.1
+OS: unknown
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: dbjobs@snafu.de               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Remoting: SOAP formatter capitalizes boolean value -> Exception
+Description of Problem:
+When remoting with http channel / SOAP formatter boolean values are
+capitalized. This is against www.w3.org/TR/xmlschema-2/#boolean and leads
+to a (misleading) ArgumentNullException if sent to a .NET client / server.
+Steps to reproduce the problem:
+1. Compare attached files NetNetSoap.txt (<return>true</return> = OK) and
+MonoNetSoap1.txt (<return ... >True</return> = Capitalized) - content
+captured with Packetyzer.
+- or -
+1. Copy attached Client.exe and Client.exe.config to client running .NET
+2. Copy attached ServerHost.exe and ServerHost.exe.config to server running
+3. Copy attached ServerDll.dll to same directory as ServerHost.exe
+4. Adapt url in Client.exe.config to server's IP adress
+5. Open firewall's port 40000 or adapt port in both config files
+5. Start ServerHost.exe and Client.exe
+6. Enjoy Exception 
+Actual Results:
+GetBoolValue() (bool Mono server -> .NET client) throws ArgumentNullException 
+TakeBoolValue() (bool .NET client -> Mono server) works
+Expected Results:
+GetBoolValue() (bool Mono server -> .NET client) works
+How often does this happen? 
+Additional Information:
+- Mono server always closes connection while .NET server keeps it open
+- Where do these "......" in MonoNetSoap1.txt come from?