[Mono-bugs] [Bug 77293][Maj] New - Error While attempt to consume webservice in linux

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jan 18 02:51:19 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 alfredo.canas at gmail.com.

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

--- shadow/77293	2006-01-18 02:51:19.000000000 -0500
+++ shadow/77293.tmp.9937	2006-01-18 02:51:19.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 77293
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: centos 4.1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.Web.Services
+AssignedTo: lluis at ximian.com                            
+ReportedBy: alfredo.canas at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Error While attempt to consume webservice in linux
+
+I am trying to consume a Webservice under linux with a dynamic url in
+app.config configuration file. When I try to access a web method I get an
+error that says: 
+
+Unhandled Exception: System.Web.Services.Protocols.SoapException: Server
+did not recognize the value of HTTP header SOAPAction: 
+
+"http://localhost/dulfiws/HermesAuth"
+in <0x0043c>
+System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse
+(System.Net.WebResponse response,
+System.Web.Services.Protocols.SoapClientMessage message,
+System.Web.Services.Protocols.SoapExtension[] extensions)
+in <0x0024f> System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
+(System.String method_name, System.Object[] parameters)
+in <0x00050> clHermes.WebReference1.dulfiws:HermesAuth (System.String
+strSuc, System.String strHwdr)
+in (wrapper remoting-invoke-with-check)
+clHermes.WebReference1.dulfiws:HermesAuth (string,string)
+in <0x00030> HermesLib.clAuth:Auth (System.String strSuc, System.String
+strHwdr)
+in <0x0029e> hsucdocto.HermesExec:Main (System.String[] args)
+
+
+If i do the same on windows, it does work correctly. I remember that on
+previous versions of mono (before 1.1.8) it used to work correctly, but
+after the major recoding of the System.Web Stack this problem suddenly
+appeared. So What I have to do to avoid this is to always recompile the
+Reference.cs file with the URL in which I want to consume the Web Service
+or generate it directly with the wsdl utility. 
+
+Thanks in Advance


More information about the mono-bugs mailing list