[Mono-dev] Fwd: webservice under mono/xsp
adar.wesley at gmail.com
Wed Sep 15 04:22:00 EDT 2010
Are you actually quoting from your code?
It seems to me that the service declaration in the ASMX file does not match
your actual class.
In the part that reads Class="PROJECTNAME.CLASSNAME", you should replace
PROJECTNAME with your actual project name and CLASSNAME with MyClass.
Together they should form the Fully Qualified class name of the
Also, I seem to remember there was an issue about Mono not supporting Web
but only Web Application. I am not sure if this is still the case.
Hope this helps,
On Wed, Sep 15, 2010 at 9:59 AM, Chakotey STME <chakoteystme at gmail.com>wrote:
> Hello Community,
> does nobody knows an answer? Or
> don't you know what I mean? Or
> is it impossible what I want to do?
> ---------- Forwarded message ----------
> From: Chakotey STME <chakoteystme at gmail.com>
> Date: 2010/9/13
> Subject: webservice under mono/xsp
> To: mono-devel-list at lists.ximian.com
> Hello Community,
> I have a webservice-project with nearly no functions and I want to
> publish it in my local network.
> Under Windows with IIS I have no problem to publish my webservice.
> I have a precompiled library (my VB-Code) and a asmx-file.
> Here is the content of my asmx-file:
> <%@ WebService Language="VB" CodeBehind="~/App_Code/MYVBCLASS.vb"
> Class="PROJECTNAME.CLASSNAME" %>
> It works good under the IIS.
> If I try it under mono and XSP I get this error:
> Error 500 - Typ PROJECTNAME.CLASSNAME not found
> I put the library of my code into a bin-directory or in the same
> directory the asmx-file exists. It doesn't work.
> It works under XSP if I take my Code directly into my asmx-file like this:
> <%@ WebService Language="VB" Class="MyClass" %>
> Imports ...
> <WebService(Namespace:="http://tempuri.org/")> _
> <WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
> <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
> Public Class MyClass
> Inherits System.Web.Services.WebService
> <WebMethod()> _
> Public Function MyFunction() As Blabla()
> End Function
> End Class
> So, is there a way to use a library in the asmx-file under mono and
> xsp? What have I to do for it?
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list