I developed an .aspx page with the same basic datagrid, much the same
code behind, and consumed the XML data file with no problems.
So I may have a problem with the method's code for making the data
available via the .asmx.
Is there a way placing code into the .asmx that will render it to a
text file? I'm not following how that could be done.
<System.Web.Services.WebMethod()> _
Public Function GetBlogEntries() As System.Xml.XmlDocument
Dim doc As New System.Xml.XmlDocument
doc.Load(Server.MapPath("history.xml"))
Return doc
End Function
Seems like it should work but maybe there is a flaw in my above logic.
On Oct 21, 12:52 pm, Glenn <[EMAIL PROTECTED]> wrote:
> Just open up a text file and dump the contents! Not much to it. You don't
> need to worry about even formatting it nicely. All you need to see is that
> the correct data is getting to your server side is functioning properly.
>
> ...Glenn
>
>
>
> On Tue, Oct 21, 2008 at 12:05 PM, Brock <[EMAIL PROTECTED]> wrote:
>
> > I'm a newbie so I'll have to get some coahing even on how to dump the
> > contents to a file from the service. I wrote the XML data file
> > together and the .asmx so I can explore any part of it needed.
> > The .asmx is running as far as their are methods to do various
> > arithmatic calculations on the server .asmx side and I have been able
> > to consume those methods with no problem- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/DotNetDevelopment
You may subscribe to group Feeds using a RSS Feed Reader to stay upto date
using following url
<a href="http://feeds.feedburner.com/DotNetDevelopment">
http://feeds.feedburner.com/DotNetDevelopment</a>
-~----------~----~----~----~------~----~------~--~---