[Mono-bugs] [Bug 50091][Nor] New - Problems running a VS.NET generated web service client under mono

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 24 Oct 2003 11:28:27 -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 gkodinov@openlinksw.co.uk.

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

--- shadow/50091	2003-10-24 11:28:27.000000000 -0400
+++ shadow/50091.tmp.30770	2003-10-24 11:28:27.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 50091
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gkodinov@openlinksw.co.uk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: Problems running a VS.NET generated web service client under mono
+
+I have a VS.NET generated web service client to try sending SMS through
+SOAP service.
+It doesn't work under mono.
+It gets :
+Unhandled Exception: System.ArgumentOutOfRangeException: Argument is out of
+range
+in <0x0004c> System.String:Substring (int,int)
+in <0x0006c>
+System.Web.Services.Protocols.WebServiceHelper:GetContentEncoding (string)
+in <0x00142>
+System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse
+(System.Net.WebResponse,System.Web.Services.Protocols.SoapClientMessage,System.Web.Services.Protocols.SoapExtension[])
+in <0x0007d> (wrapper remoting-invoke-with-check)
+System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse
+(System.Net.WebResponse,System.Web.Services.Protocols.SoapClientMessage,System.Web.Services.Protocols.SoapExtension[])
+in <0x00225> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
+(string,object[])
+in <0x0006b> (wrapper remoting-invoke-with-check)
+System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke (string,object[])
+in <0x00105> redcoalsms.net.redcoal.xml.ISOAPServerservice:SendTextSMS
+(string,string,string,string,string,string,int,string&)
+in <0x000da> (wrapper remoting-invoke-with-check)
+redcoalsms.net.redcoal.xml.ISOAPServerservice:SendTextSMS
+(string,string,string,string,string,string,int,string&)
+in <0x00049> redcoalsms.redcoalsmssvc:SendSms (string,string)
+in <0x00057> .tst:Main (string[])
+
+
+I'm attaching the source files for reference.
+it's usually compiled w/ :
+ mcs /out:redcoalsms.dll /r:System.Web.Services redcoalsms.cs
+redcoalsmsref.cs /t:library
+mcs /out:gogo.exe /r:redcoalsms.dll gogo.cs