[Mono-dev] webservice under mono/xsp
Chakotey STME
chakoteystme at gmail.com
Mon Sep 13 04:33:06 EDT 2010
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?
thanks,
chakoteystme
More information about the Mono-devel-list
mailing list