![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, below is simple webservice wich I'd like to test in my local host but 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 tell me why? What I'm missing? From Visual Studio this works. below is sample web service 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; } } |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |