[Mono-list] Nothing But Type Not Found Errors When Creating A WebService

Adam Tauno Williams awilliam at whitemice.org
Sat Nov 26 21:27:20 EST 2005


I've created a .NET assembly to access the XML-RPC API of the
OpenGroupware.org groupware server.  Now I'm trying to create some
wrapper classes so I can access my assembly from our business
integration engine which uses SOAP.  So I found pretty basic directions
at:
http://www.mono-project.com/Webservices_and_GtkSharp#Writing

But no matter what I try to do all I get from XSP is type not found
errors.

1. I created a class:
namespace Whitemice.WOGoServices
{
	[WebService (Description="OpenGroupware.Org Server")]
	public class Server : System.Web.Services.WebService
	{
		[WebMethod (Description="Returns Current Time")]
		public DateTime Time() { return DateTime.Now; }
	}
}
2. Compiled the class to a DLL, copied it to /usr/share/doc/xsp/test
3. In /usr/share/doc/xsp/test I create a file wogo.asmx containing:
	<%@ WebService Class="Whitemice.WOGoServices.Server" %>
4. I run xsp with "xsp --port 8081" 
5. Point a browser at http://localhost:8081/wogo.asmx

Type Whitemice.WOGoServices.Server not found.
Description: Error processing request.
Error Message: HTTP 500. Type Whitemice.WOGoServices.Server not found. 

I've tried installing the DLL into the GAC, setting MONO_PATH, etc...
but I get nowhere.  I've created .NET client using proxies before, but
never a webservice.



More information about the Mono-list mailing list