[Mono-list] Web services looking for non existent type

Federico Delgado flaker.kapper at gmail.com
Mon Feb 21 23:23:22 EST 2011


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

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?



More information about the Mono-list mailing list