Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2006

Tip: Looking for answers? Try searching our database.

How can I remove XML tags from ASP.NET web service return values?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DonaldN - 16 Feb 2006 23:07 GMT
This question has been asked and NOT asnwered. Putting aside all
comments on the reasons to do not or not do this and any related
issues. Would someone please anwser the question: Is the a way to make
my .net 1.1 web service return plain text without the XML element tags?
If so, how?  Thanks in advance.
Josh Twist - 17 Feb 2006 08:42 GMT
Hi Donald,

Sorry, but I'm not sure I fully understand your question. Do you want
to remove the SOAP envelope and all xml from the HTTP response of the
web service?

The best way to do this would be to not use a web service at all
(because it _really_ isn't web services) and use a HttpHandler - you'll
find plenty of resources on google.

If you absolutely HAVE to use Web Services I guess you could wrap your
web service with a SoapExtension that strips all the XML from the
response, but it's kind of a non-sensical thing to do - again you'll
find plenty of resources if you search for SoapExtension.

Hope that helps

Josh
http://www.thejoyofcode.com/

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.