There have been questions quite similar to this one, but I could not find any solution. So excuse me for asking it again.
I'm running Debian Linux and I installed Mono. Once I started the sample WebService with the XSP (or XSP4) server, I can not access it neither locally nor from anywhere else in the network.
The *.asmx file is in a folder from which I also start the XSP server.
Here's the sample code:
using System;
using System.Web.Services;
namespace MathService
{
[WebService (Namespace = "http://tempuri.org/NumberService")]
public class MathService : WebService
{
[WebMethod]
public int AddNumbers (int number1, int number2)
{
return number1 + number2;
}
[WebMethod]
public int SubtractNumbers (int number1, int number2)
{
return number1 - number2;
}
}
}
Look out for soft-float versions of your operation system or a mono version that supports hard-float. See this link.