Hello,
I'm going through a similar situation that this poster went through. I have a Web Service class called "mapactions" that passes geolocation data back and forth to a Google Map.
However, whenever I make a mapactions.SomeMethod javascript call I always get a "mapactions is undefined".
Here's the code for the .asmx:
<%@ WebService Language="C#" CodeBehind="~/App_Code/mapactions.cs" Class="mapactions" %>
Here's the code for the .cs portion of the web service:
1 [System.Web.Script.Services.ScriptService]
2 [WebService(Namespace = "http://localhost/")]
3 [WebServiceBinding(ConformsTo = WsiPro ...
Go to the complete details ...