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 / March 2005

Tip: Looking for answers? Try searching our database.

Reducing XML output

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wagner - 08 Mar 2005 08:50 GMT
Hi,

I'm a newbie in web services programing so I have a few questions:
Is it possible to reduce size of xml output produced by .NET web service?
I'm using SQLDataAdapter.Fill(DataSet, "Name") statement to fill dataset
which is returned then by service. Web service type is DataSet.

It works fine but I'd like to cut out begining of xml which is some kind of
description of the xml because it takes bandwidth when is transfered.

Thanks in advance
Dan Rogers - 08 Mar 2005 20:23 GMT
One thing to do right off is to not define methods the return data sets.  
These methods will not be callable by non-.NET applications.  Instead,
define custom types that you return, and have your service populate those
types from your back-end database ministrations.
--------------------
>From: Wagner <wagner@email.t-com.hr>
>Subject: Reducing XML output
[quoted text clipped - 9 lines]
>Lines: 1        
>Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp1
3.phx.gbl
>Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:28484
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 9 lines]
>
>Thanks in advance

Rate this thread:







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.