Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - consume XML document in web service >Thread Next - Re: consume XML document in web service Re: consume XML document in web serviceTo: NULL Date: 3/8/2008 9:16:00 PM "Robert" <Robert@d...> wrote in message news:78550B01-7821-4669-B9CB-5D7F0C20BF8E@m...... > I'm trying to pass an XML document into a web service using XMLHTTP. I'm > using the inputstream and would like to load that into the XML Document. How > can I do this? I'm gonna guess this is in .NET but in would have been useful if you had specified your platform. You can use either XmlDocument or XPathDocument (XPathDocument is readonly but uses less resources). //C# Using System.Xml . . . XmlDocument doc = new XmlDocument(Request.InputStream); OR Using System.Xml.XPath; . . . XPathDocument doc = new XPathDocument(Request.InputStream); -- Anthony Jones - MVP ASP/ASP.NET | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
