[Mono-bugs] [Bug 377934] New: Mono don't generate/ compile web service proxies in App_WebReferences
    bugzilla_noreply at novell.com 
    bugzilla_noreply at novell.com
       
    Tue Apr  8 08:29:00 EDT 2008
    
    
  
https://bugzilla.novell.com/show_bug.cgi?id=377934
           Summary: Mono don't generate/compile web service proxies in
                    App_WebReferences
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: informatique.internet at fiducial.fr
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
Step to reproduce
1. Open VS2005 (or VS2008)
2. Create a simple ASP.NEt project
3. Add a web reference
4. use it into Default.aspx
5. copy the web directory on a mono box
6. run xsp2 
7. Mono don't know about proxies class
It seems that MS.NET transform all wsdl files of this directory
(App_WebReferences) into cs files and compiles them. 
Mono does nothing!
See the attached test case.
unzip it and run xsp2
you'll get
Compilation Error
Description: Error compiling a resource required to service this request.
Review your source file and modify it to fix this error.
Compiler Error Message: CS0246: The type or namespace name `com' could not be
found. Are you missing a using directive or an assembly reference?
Source Error:
Line 13:     protected void Page_Load(object sender, EventArgs e)
Line 14:     {
Line 15:         com.w3schools.www.TempConvert tempConvert = new
com.w3schools.www.TempConvert();
Line 16:         string tempfahr=tempConvert.CelsiusToFahrenheit("20");
Line 17:         Label1.Text = tempfahr;
Source File: /tmp/hubert-temp-aspnet-0/dfffdf09/App_Web_33eef73c_0.cs  Line: 15
on MS.NET it works well
The only work around i've found it to run wsdl files manually and copy the .cs
into the App_Code folder...
-- 
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