https://bugzilla.novell.com/show_bug.cgi?id=459790


           Summary: SoapRpcMethod based webservices return HTTP 500 error
                    with Mono 2.0.1 Runtime
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Sys.Web.Services
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected]
          Found By: Third Party Developer/Partner


Created an attachment (id=260609)
 --> (https://bugzilla.novell.com/attachment.cgi?id=260609)
wsdl file

iFolder uses both SoapDocumentMethod and SoapRpcMethod for web-service
interactions with server. 
SoapDocumentMethod based WebServices work fine with both Mono 1.2.2 and Mono
2.0.1 (stable release) whereas SoapRpcMethod based WebService calls throw the
following exception on Mono 2.0.1 : 

Server did not recognize the value of HTTP header SOAPAction:
"http://novell.com/GetVersion"; 

Mono Environments tried :
for 1.2.2:
mono-data-1.2.2-12.20
dbus-1-mono-0.60-33.22
mono-winforms-1.2.2-12.20
mono-web-1.2.2-12.20
mono-devel-1.2.2-12.10
mod_mono-1.2.5-0.2
mono-core-1.2.2-12.20

for 2.0.1 : 
mono-web-2.0.1-18.1
mono-core-2.0.1-18.1
mono-winforms-2.0.1-18.1
mod_mono-1.2.5-0.2
dbus-1-mono-0.60-33.22
mono-core-32bit-2.0.1-18.1
mono-data-sqlite-2.0.1-18.1
mono-data-2.0.1-18.1
----------------------------------------------------------------------

Steps To Reproduce : 

Server Side : 
(1) Created asmx/asmx.cs file (TestUpdate.asmx and TestUpdate.asmx.cs) and
generated dll (TestUpdate.Dll) using command on Mono 1.2: 

mcs /out:TestUpdate.dll /r:System.dll /r:System.Data.dll /r:System.Xml.dll
/r:System.Web.dll /r:System.Web.Services.dll /target:library TestUpdate.asmx.cs

(2) Copied wsdl file after accessing TestUpdate.asmx and generated proxy class
TestUpdate.cs using command : 

wsdl -out:TestUpdate.cs -nologo TestUpdate.wsdl

(3) Copied the TestUpdate.Dll and TestUpdate.asmx file into binary path of
server so that it is accessible by any client.

(4) Copied the same DLL and asmx into a server having Mono 1.2 and into another
server having Mono 2.0.

Client Side : 
(1) From Windows, using Visual Studio 2005, Created a new project TestUpdate
(such that file name is Program.cs and method name is GetVersion), copied the
proxy file TestUpdate.cs , Added reference to this proxy class in the project.
(2)After building execute so that it connects to a server having mono 1.2
(3)Change the server's IP in Program.cs, build and execute so that it connects
to server having Mono 2.0.

OBSERVATION : (2) passess and (3) fails with the SOAP Exception as mentioned
above. Server did not recognize the value of HTTP header SOAPAction:
"http://novell.com/GetVersion";


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to