[Mono-bugs] [Bug 341456] New: WebService type not found with pre-compiled classes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 13 14:55:40 EST 2007


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

           Summary: WebService type not found with pre-compiled classes
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: x86-64
        OS/Version: RHEL 5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web.Services
        AssignedTo: atsushi at ximian.com
        ReportedBy: anmar at gmx.net
         QAContact: mono-bugs at ximian.com
          Found By: ---


Created an attachment (id=183236)
 --> (https://bugzilla.novell.com/attachment.cgi?id=183236)
Test case and stack trace

If the web service type is compiled in an assembly, put in bin folder and then
the class referenced in the @WebService directive (class attribute), xsp2
throws an exception when trying to access the web service.

This is a 1.2.6 preview regression, works fine with 1,2,5,2

Test case and stacktrace attached. To run the test do 'make && xsp2'

Server Error in '/' Application
Type testcase.TestWebService, testcase not found.

Description: Error processing request.

Error Message: HTTP 500. System.Web.HttpException: Type
testcase.TestWebService, testcase not found.

Stack Trace:

System.Web.HttpException: Type testcase.TestWebService, testcase not found.
  at System.Web.UI.SimpleWebHandlerParser.GetTypeFromBin (System.String
typeName) [0x000fb] in
/var/opt/data/rpm/build/BUILD/mono-1.2.6/mcs/class/System.Web/System.Web.UI/SimpleWebHandlerParser.cs:431 
  at System.Web.Compilation.WebServiceCompiler.GetCompiledType () [0x00038] in
/var/opt/data/rpm/build/BUILD/mono-1.2.6/mcs/class/System.Web/System.Web.Compilation/WebServiceCompiler.cs:67 
  at System.Web.Compilation.WebServiceCompiler.CompileIntoType
(System.Web.UI.SimpleWebHandlerParser wService) [0x00007] in
/var/opt/data/rpm/build/BUILD/mono-1.2.6/mcs/class/System.Web/System.Web.Compilation/WebServiceCompiler.cs:57 
  at System.Web.UI.WebServiceParser.GetCompiledType (System.String inputFile,
System.Web.HttpContext context) [0x00040] in
/var/opt/data/rpm/build/BUILD/mono-1.2.6/mcs/class/System.Web/System.Web.UI/WebServiceParser.cs:68 
  at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String verb, System.String url,
System.String filePath) [0x0002b] in
/var/opt/data/rpm/build/BUILD/mono-1.2.6/mcs/class/System.Web.Services/System.Web.Services.Protocols/WebServiceHandlerFactory.cs:102 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context)
[0x00046] in
/var/opt/data/rpm/build/BUILD/mono-1.2.6/mcs/class/System.Web/System.Web/HttpApplication.cs:1196 
  at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x006ad]
in
/var/opt/data/rpm/build/BUILD/mono-1.2.6/mcs/class/System.Web/System.Web/HttpApplication.cs:920 

11/13/2007 4:52:28 PM


-- 
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