[Mono-aspnet-list] webservice 'is not defined' for clientside proxy
nzsaint
chrisbrown76 at hotmail.com
Thu Aug 20 06:30:03 EDT 2009
If I use Firebug in Firefox I can actually see that I get a '500 Internal
Server Error' when my aspx page requests the asmx page. The actual response
is as follows:
No @webservice directive found
Description: HTTP 500. Error processing request.
Stack Trace:
System.Web.Compilation.ParseException: No @webservice directive found
at System.Web.UI.SimpleWebHandlerParser.GetDirectivesAndContent ()
[0x0024f] in
/root/Desktop/mono-2.4.2.3/mcs/class/System.Web/System.Web.UI/SimpleWebHandlerParser.cs:221
at System.Web.UI.SimpleWebHandlerParser..ctor (System.Web.HttpContext
context, System.String virtualPath, System.String physicalPath,
System.IO.TextReader reader) [0x0017d] in
/root/Desktop/mono-2.4.2.3/mcs/class/System.Web/System.Web.UI/SimpleWebHandlerParser.cs:126
at System.Web.UI.SimpleWebHandlerParser..ctor (System.Web.HttpContext
context, System.String virtualPath, System.String physicalPath) [0x00000] in
/root/Desktop/mono-2.4.2.3/mcs/class/System.Web/System.Web/UplevelHelper.cs:1
at System.Web.UI.WebServiceParser..ctor (System.Web.HttpContext context,
System.String virtualPath, System.String physicalPath) [0x00000] in
/root/Desktop/mono-2.4.2.3/mcs/class/System.Web/System.Web/UplevelHelper.cs:1
at System.Web.UI.WebServiceParser.GetCompiledType (System.String
inputFile, System.Web.HttpContext context) [0x00028] in
/root/Desktop/mono-2.4.2.3/mcs/class/System.Web/System.Web.UI/WebServiceParser.cs:68
at System.Web.Script.Services.ScriptHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String requestType, System.String
url, System.String pathTranslated) [0x000a2] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/System.Web.Extensions/System.Web.Script.Services/ScriptHandlerFactory.cs:68
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url, Boolean ignoreContextHandler) [0x00055] in
/root/Desktop/mono-2.4.2.3/mcs/class/System.Web/System.Web/HttpApplication.cs:1635
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url) [0x00000] in
/root/Desktop/mono-2.4.2.3/mcs/class/System.Web/System.Web/HttpApplication.cs:1616
at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x0071f]
in
/root/Desktop/mono-2.4.2.3/mcs/class/System.Web/System.Web/HttpApplication.cs:1252
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version:
2.0.50727.1433
I obviously do have the '@ WebService' directive in my asmx file.
--
View this message in context: http://www.nabble.com/webservice-%27is-not-defined%27-for-clientside-proxy-tp25056713p25059612.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
More information about the Mono-aspnet-list
mailing list