Hi,

I have been trying to make this work but I cannot understand exactly
what the error message is trying to tell me:

I have the following web service (regular asmx)

ASMX FILE (UserService.asmx):
<%@ WebService Language="C#" CodeBehind="UserService.cs"
Class="BlogEngineWA.api.UserService" %>


CS FILE (UserService.cs):

    [WebService(Namespace = "http://tempuri.org/";)]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [ScriptService]
    public class UserService : WebService
    {
... etc


Both files live under the same folder in my Web Application project.
When I try to call it from the client, I get:

System.Web.HttpException: Type BlogEngineWA.api not found.
  at System.Web.UI.SimpleWebHandlerParser.GetTypeFromBin
(System.String tname) [0x00195] in
/usr/src/packages/BUILD/mono-2.10/mcs/class/System.Web/System.Web.UI/SimpleWebHandlerParser.cs:494

That makes a lot of sense since I am pretty sure there is no
"BlogEngineWA.api" type. At least not one created by me.

Is this some intended behavior and I am forgetting to do something?

Thanks,

Federico
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to