[Mono-bugs] [Bug 51208][Wis] New - can't invoke two web service methods

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 20 Nov 2003 11:12:32 -0500 (EST)


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 james@ximian.com.

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

--- shadow/51208	2003-11-20 11:12:31.000000000 -0500
+++ shadow/51208.tmp.25635	2003-11-20 11:12:31.000000000 -0500
@@ -0,0 +1,72 @@
+Bug#: 51208
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: james@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: can't invoke two web service methods
+
+I'm playing with the weather web service provided by capescience.com, and
+it seems to have exposed a bug in the web service client code.  The first
+invocation of a method works fine, but the second (even if it is a
+different method), does not.  I'm running CVS from this morning.  Below is
+the trace it spits out:
+
+[snorp@itchy webservice-test]$ mono --debug weather.exe
+ 
+Unhandled Exception: System.Net.WebException: Error getting response stream
+---> System.Exception:
+        at System.Net.WebConnection.HandleError()
+        at System.Net.WebConnection.ReadDone()
+        at System.MulticastDelegate.invoke_void_IAsyncResult()
+        at System.Net.Sockets.Socket+Worker.End()
+        at System.Net.Sockets.Socket+Worker.Receive()
+in [0x00050] (at
+/home/snorp/cvs/ximian/mcs/class/System/System.Net/WebConnection.cs:128)
+System.Net.WebConnection:HandleError
+(System.Net.WebExceptionStatus,System.Exception)
+--- End of inner exception stack trace ---
+ 
+in [0x00011] (at
+/home/snorp/cvs/ximian/mcs/class/System/System.Net/HttpWebRequest.cs:920)
+System.Net.HttpWebRequest:CheckFinalStatus (System.Net.WebAsyncResult)
+in <0x00065> (wrapper remoting-invoke-with-check)
+System.Net.HttpWebRequest:CheckFinalStatus (System.Net.WebAsyncResult)
+in [0x0009c] (at
+/home/snorp/cvs/ximian/mcs/class/System/System.Net/HttpWebRequest.cs:635)
+System.Net.HttpWebRequest:EndGetResponse (System.IAsyncResult)
+in [0x00039] (at
+/home/snorp/cvs/ximian/mcs/class/System/System.Net/HttpWebRequest.cs:647)
+System.Net.HttpWebRequest:GetResponse ()
+in [0x00026] (at
+/home/snorp/cvs/ximian/mcs/class/System.Web.Services/System.Web.Services.Protocols/WebClientProtocol.cs:158)
+System.Web.Services.Protocols.WebClientProtocol:GetWebResponse
+(System.Net.WebRequest)
+in [0x0003f] (at
+/home/snorp/cvs/ximian/mcs/class/System.Web.Services/System.Web.Services.Protocols/WebClientProtocol.cs:161)
+System.Web.Services.Protocols.WebClientProtocol:GetWebResponse
+(System.Net.WebRequest)
+in [0x00002] (at
+/home/snorp/cvs/ximian/mcs/class/System.Web.Services/System.Web.Services.Protocols/HttpWebClientProtocol.cs:148)
+System.Web.Services.Protocols.HttpWebClientProtocol:GetWebResponse
+(System.Net.WebRequest)
+in [0x0007b] (at
+/home/snorp/cvs/ximian/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHttpClientProtocol.cs:284)
+System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])
+in [0x000b2] (at
+/home/snorp/cvs/ximian/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHttpClientProtocol.cs:291)
+System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])
+in <0x0006b> (wrapper remoting-invoke-with-check)
+System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])
+in <0x0005e> .GlobalWeather:getWeatherReport (string)
+in <0x0007c> .Weather:Main (string[])