[Mono-aspnet-list] How can I consume a web service with javascript and jquery?

Robert Jordan robertj at gmx.net
Fri Aug 5 05:45:45 EDT 2011

On 04.08.2011 22:35, LucaDev wrote:
> Hello everyone,
> sorry for my English
> I created a website with some aspx pages, for example, Default.aspx, and a
> web service called DataService.asmx. From the Default.aspx page I would like
> to call the web service using jquery.
> The problem is that I can not call the web service using jquery
> I'm using mono 2.4.4 on ubuntu server version 10.04.

> Stack Trace: System.NullReferenceException: Object reference not set to an
> instance of an object at
> System.Web.Script.Services.WebServiceData.GetWebServiceData
> (System.Web.HttpContext context, System.String virtualPath, Boolean
> failIfNoData, Boolean PageMethods) [0x00000 ] at
> System.Web.Script.Services.WebServiceData.GetWebServiceData

This is not Mono's System.Web.Extensions. You've probably
copied this file from MS.NET.


More information about the Mono-aspnet-list mailing list