Re: Compressing soap content

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Nicholas Paldino [.NET/C# MVP] (mvp_at_spam.guard.caspershouse.com)
Date: 09/08/04


Date: Wed, 8 Sep 2004 16:48:52 -0400

Dante,

    Any solution that you use is going to be custom, and will possibly
prohibit other platforms from using it (for example, Java, Unmanaged C++, VB
6). In these situations, you are going to have to code the proxies
individually (based on platform). This is a bad thing, IMO.

    I would change the web service so that you don't transfer in one call.
Perhaps have a method indicating the beginning of a call (which returns a
token), and then make multiple calls to another method which would take the
data in chuncks (passing the token). Finally, you would call a third method
to indicate the end of the transfer, and to process the results.

    Of course, you might not be concerned about interoperability, and you
are just using .NET on the client end. If this is the case, why use web
services? Why not use something a little more proprietary that would not
place these limitations on you? Of course, if you are concerned with
interoperability, then this paragraph doesn't apply.

    Hope this helps.

-- 
               - Nicholas Paldino [.NET/C# MVP]
               - mvp@spam.guard.caspershouse.com
"Dante" <dan_tel@hotmail.com> wrote in message 
news:chnqa5$2eo$1@news.xmission.com...
>I have developed a PHP web service that runs on a linux machine.  I have
> also developed a windows forms client to the web service in C#.  The only
> problem that I'm having is that the data that I send to the web service is
> too large.  For one, the server denies any post greater than 8 MB.  It 
> also
> takes forever to send that amount of data.  I would like to figure out how
> to compress the soap content and then have the server decompress it after 
> it
> has received it.
> Has anyone done this?  Does anyone know of any good resources with 
> examples?
>
> Thanks
> Dante
>
> 


Relevant Pages

  • Re: sn.exe -Vr assembly
    ... > and only ship to your clients the code that calls the web service. ... no single person can be considered fully trustworthy. ... platforms so that the powers of any single administrator don't extend quite ...
    (microsoft.public.dotnet.security)
  • Re: WebService changed the name of my class
    ... described by a WSDL, and the WSDL uses XML Schema to describe the XML to be ... XML Schema has no way to describe generics. ... If you were consuming this web service from a platform other than .NET, ... as they will not translate across platforms. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Compressing soap content
    ... I have developed a PHP web service that runs on a linux machine. ... also developed a windows forms client to the web service in C#. ... the server denies any post greater than 8 MB. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Implementing a common SOAP Header across multiple Web Service Pages
    ... to set a client up to reference multiple Web ... the Web Service site would ... Your point about leaving the ASMX page as lean as possible and acting just ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Implementing a common SOAP Header across multiple Web Service Pages
    ... between my Web Service application and the client. ... public string SID; ... Web Service page, rather than to a dozen or so separate Web Service pages ... You can easily create a .ASMX file ...
    (microsoft.public.dotnet.framework.webservices)