[Mono-bugs] [Bug 58565][Wis] New - MONO Beta 1 Bug with SoapExtensionAttribute
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 16 May 2004 04:47:45 -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 davidandrewtaylor@hotmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=58565
--- shadow/58565 2004-05-16 04:47:45.000000000 -0400
+++ shadow/58565.tmp.28546 2004-05-16 04:47:45.000000000 -0400
@@ -0,0 +1,103 @@
+Bug#: 58565
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Sys.Web.Services
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: davidandrewtaylor@hotmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: MONO Beta 1 Bug with SoapExtensionAttribute
+
+Description of Problem:
+The SoapExtensionAttribute is often used to bind in customer features
+into the .NET WebServices stack. There is a bug in its behavior and I
+have included a simple test case which just outputs the request and
+response to console output (helping you debug web service calls).
+
+It works fine with MS.NET
+It throws an exception on MONO Beta 1
+
+Steps to reproduce the problem:
+1. csc test.cs /r:System.Web.Services
+2. Run on Windows (it correctly outputs call info)
+3. Run on Linux (Exception is thrown)
+
+Actual Results:
+Unhandled Exception: System.NullReferenceException: A null value was found
+where an object instance was required.
+in <0x00106> TraceExtension:WriteOutput
+(System.Web.Services.Protocols.SoapMessage)
+in <0x0004e> TraceExtension:ProcessMessage
+(System.Web.Services.Protocols.SoapMessage)
+in <0x00058>
+System.Web.Services.Protocols.SoapExtension:ExecuteProcessMessage
+(System.Web.Services.Protocols.SoapExtension
+[],System.Web.Services.Protocols.SoapMessage,bool)
+in <0x00155>
+System.Web.Services.Protocols.SoapHttpClientProtocol:SendRequest
+(System.IO.Stream,System.Web.Services.Protocols.SoapClientMessage,System.W
+eb.Services.Protocols.SoapExtension[])
+in <0x0007b> (wrapper remoting-invoke-with-check)
+System.Web.Services.Protocols.SoapHttpClientProtocol:SendRequest
+(System.IO.Stream,System.Web.Services.Protocols.SoapClientMessage,System.W
+eb.Services.Protocols.SoapExtension[])
+in <0x00170> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
+(string,object[])
+in <0x0005d> DeviceManagementWSService:getDevicesByOwner (string)
+in <0x00058> (wrapper remoting-invoke-with-check)
+DeviceManagementWSService:getDevicesByOwner (string)
+in <0x0007c> Tester:Main (string[])
+
+Expected Results:
+Web Service RequestURL:
+http://trillian.research.melbourneit.com.au/test/devicemgmt/services/Devic
+eManagement
+Method: getDevicesByOwner
+<?xml version="1.0" encoding="utf-16"?>
+<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
+xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
+xmlns:tns="http://rsp.melbourneit.com/ws/DeviceManagement"
+xmlns:types="http://rsp.melbourneit.com/ws/DeviceManagement/encodedTypes"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <soap:Body
+soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
+ <tns:getDevicesByOwner>
+ <username xsi:type="xsd:string">ximian</username>
+ </tns:getDevicesByOwner>
+ </soap:Body>
+</soap:Envelope>
+
+Web Service ResponseURL:
+http://trillian.research.melbourneit.com.au/test/devicemgmt/services/Devic
+eManagement
+Method: getDevicesByOwner
+<?xml version="1.0" encoding="utf-16"?>
+<soapenv:Envelope
+xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <soapenv:Body>
+ <ns1:getDevicesByOwnerResponse
+soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+xmlns:ns1="http://rsp.melbourneit.com/ws/DeviceManagement">
+ <ns1:getDevicesByOwnerReturn xsi:type="soapenc:Array"
+soapenc:arrayType="ns1:Device[0]"
+xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" />
+ </ns1:getDevicesByOwnerResponse>
+ </soapenv:Body>
+</soapenv:Envelope>
+
+How often does this happen?
+All the time on MONO Beta 1
+
+Additional Information:
+Please try the test case on both Windows MS.NET 1.1 and MONO Beta 1.