[Mono-bugs] [Bug 371859] New: request to Web services does not work (in 2.0 profile?)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 17 15:15:12 EDT 2008


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


           Summary: request to Web services does not work (in 2.0 profile?)
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: openSUSE 10.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: atsushi at ximian.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


We cannot get expected result from
lib/xsp/test/1.1/webservice/TestService.asmx. It results in HTTP 404.

I found two issues so far:
- WebServiceParser.GetCompiledType() tries to call MapPath() against
"inputFile" which is already mapped to a local file path. So, for path
"/usr/local/lib/xsp/test/1.1/webservice/TestService.asmx", the (second) call to
MapPath() returns
"/usr/local/lib/xsp/test/usr/local/lib/xsp/test/1.1/webservice/TestService.asmx".
It is wrong.
- A request to DefaultWsdlHelpGenerator.aspx should not be based on current
application's virtualPath i.e.
/usr/local/etc/mono/2.0/DefaultWsdlHelpGenerator.aspx should not be altered as
something like "/usr/local/lib/xsp/test/DefaultWsdlHelpGenerator.aspx". This
happens because PageParser.GetCompiledPageInstance() drops the absolute file
path for DefaultWsdlHelpGenerator.aspx when it calls
BuildManager.CreateInstanceFromVirtualPath() in 2.0 profile.

I have a WebServiceParser.cs patch for the first issue, attaching.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list