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.
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list