[Mono-dev] Fwd: webservice under mono/xsp

Kris Ray kray at landmarkdigital.com
Mon Sep 20 13:18:45 EDT 2010

I have a little different scenario, but My webservice is setup like this:

<%@ WebService Language="C#" Class="Company.WebServices.Stuff.StuffService" %>

My bin folder contains the dlls for the "StuffService" and other associated libraries.

Hopefully this helps...


From: mono-devel-list-bounces at lists.ximian.com [mono-devel-list-bounces at lists.ximian.com] On Behalf Of Chakotey STME [chakoteystme at gmail.com]
Sent: Monday, September 20, 2010 3:10 AM
To: mono-devel-list at lists.ximian.com
Subject: [Mono-dev] Fwd: webservice under mono/xsp

Hello Community,

I have still the same problem.
I can't use a dll-file under xsp.
I checked my source for case-sensitive and all words are correct.
I copied the dll-library into a bin-directory but without an effect.

my xsp-version:
my mono-version: Mono JIT compiler version 2.4.4
mono-vbnc-version: Visual Basic.Net Compiler version

I really have to solve this problem.

If there is no solution for my problem I can't use mono for my webservice.

Does anybody have an idea?


---------- 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"

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

More information about the Mono-devel-list mailing list