[Mono-list] WebServices and Mono
beniniva@csr.unibo.it
beniniva@csr.unibo.it
Wed, 14 Jul 2004 12:38:00 +0200
Hi,
I'm new in Mono and WebServices technology.
Could anybody write me a simple web service cliente example (web application) of
TestService.asmx (in /usr/share/doc/xsp/test).
--------------------
TestService.asmx
---------------------
<%@ WebService Language="c#" Codebehind="TestService.asmx.cs"
Class="WebServiceTests.TestService" %>
using System;
using System.Web.Services;
using System.Web.Services.Protocols;
namespace WebServiceTests
{
public class TestService : System.Web.Services.WebService
{
[WebMethod]
public string Echo (string a)
{
return a;
}
[WebMethod]
public int Add (int a, int b)
{
return a + b;
}
}
}
-----------------------------------
And...Which are the steps for creating and compiling the proxy class?
Thanks a lot,
vale.