Hi,
below is simple webservice wich I'd like to test in my local host and when I
put http://localhost/test.asmx I'm getting this error:
XML Parsing Error: no element found
Location: http://localhost/test.asmx
Line Number 1, Column 1:
Can somebody help me why? What I'm missing?
below is sample web setvice code:
<%@ WebService Language="C#" Class="MathService" %>
using System;
using System.Web.Services;
[WebService(Namespace="Microsoft.Samples.XmlMessagi ng.WebServices")]
public class MathService {
[WebMethod]
public float Add(float a, float b)
{
return a + b;
}
}