Reading a xml file using a web service

GZz

New Member
Hi!<BR><BR>Does anyone knows how I can read a file (C: est.xml) using a web service. I was using this code but for some reason doesn't seem to work.<BR><BR>Imports System.Web.Services<BR>Imports System<BR>Imports System.Xml<BR>................<BR> <WebMethod()> Function GetEmployee()<BR> Dim reader As XmlTextReader = New XmlTextReader("H:\Inetpub\xml\employee.xml")<BR> While reader.Read()<BR> Return reader.Name<BR> End While<BR> End Function<BR>....<BR><BR>Appreciate if you any of you can help me out.<BR><BR>Thanks<BR><BR>Angel<BR>
 
Back
Top