RE: Reducing XML output

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Dan Rogers (danro_at_microsoft.com)
Date: 03/08/05


Date: Tue, 08 Mar 2005 20:23:26 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
>User-Agent: 40tude_Dialog/2.0.15.1hr
>MIME-Version: 1.0
>Content-Type: text/plain; charset="us-ascii"
>Content-Transfer-Encoding: 7bit
>Reply-To: wagner@email.t-com.hr
>Date: Tue, 8 Mar 2005 09:50:07 +0100
>Message-ID: <nsh9mgoy9a2y$.l9gumqdcdpsh.dlg@40tude.net>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
>NNTP-Posting-Host: lns01-0468.dsl.iskon.hr 213.202.85.215
>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
>
>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
>



Relevant Pages

  • Re: HTTP POST ASP .NET
    ... was not expecting formatted XML output but at least the description of the ... >> xml string from a server that exposes a web service? ... >> info via HTTP POST to another server that exposes the web service, ... >> will have to parse the XML output received from the remote web service, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Reducing XML output
    ... Is it possible to reduce size of xml output produced by .NET web service? ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Active Directory authorization
    ... AD should be fine as a source for authentication for your web service. ... The easiest way to use AD for authentication is to just use the transport layer authentication schemes built in to IIS. ... For app level authorization, I'd suggest checking out Microsoft's Authorization Manager framework. ... every applications. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Issue with redefined .Net custome type in the proxy class for a web service...
    ... These custom types r defined in a seperate assembly and being ... > consumes this web service, it is generating a proxy class for the web ... > client application(I used using directive for this custom types ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Issue with redefined .Net custome type in the proxy class for a web service...
    ... The proxy generated by the Add Web Reference wizard is always going to based ... > I have web service which uses custom .Net types as parameter/return types. ... > client application(I used using directive for this custom types assembly) ...
    (microsoft.public.dotnet.framework.aspnet.webservices)