473,386 Members | 1,644 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Web Service Compression with .net 1.1 and gzip

Hi guys,

I'm currently working on an application that is heavily dependant on
web services. The web services are being run on an Apache Service
through Axis. We'll be using mod_gzip to get the server side of things
to compress the response (given that the header request specfies that
it accepts gzip encoding).

The application that will be consuming this service is a winforms .NET
1.1 application. I've been looking around for a few hours trying to
find a good example of how to set up the application to recognize and
unzip the file, but it looks like the majority of the articles are
written running under the assumption that you're using the 2.0
framework (more specifically, that you're using WSE 3.0 which you can
only use with 1.1). The only WSE version that is supported by the 1.1
framework is version 1.

Does anyone know of any good resources that show how
A) Add the "Accept-encoding: gzip" to the request header and
B) How to intercept the gzipped SOAP message and unzip it before
anything tries to process it?

Thanks for any help in advance!
Andy

Jul 31 '06 #1
2 2133
Hi Andy,

This is exactly what you are looking for,
http://www.dotnetjunkies.com/Tutoria...D8F381324.dcik

Regards,
Pablo Cibraro.
http://weblogs.asp.net/cibrax

<re****@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
Hi guys,

I'm currently working on an application that is heavily dependant on
web services. The web services are being run on an Apache Service
through Axis. We'll be using mod_gzip to get the server side of things
to compress the response (given that the header request specfies that
it accepts gzip encoding).

The application that will be consuming this service is a winforms .NET
1.1 application. I've been looking around for a few hours trying to
find a good example of how to set up the application to recognize and
unzip the file, but it looks like the majority of the articles are
written running under the assumption that you're using the 2.0
framework (more specifically, that you're using WSE 3.0 which you can
only use with 1.1). The only WSE version that is supported by the 1.1
framework is version 1.

Does anyone know of any good resources that show how
A) Add the "Accept-encoding: gzip" to the request header and
B) How to intercept the gzipped SOAP message and unzip it before
anything tries to process it?

Thanks for any help in advance!
Andy

Aug 3 '06 #2
Great, thanks! That was very helpful.

Regards,
Andy

Pablo Cibraro [MVP] wrote:
Hi Andy,

This is exactly what you are looking for,
http://www.dotnetjunkies.com/Tutoria...D8F381324.dcik

Regards,
Pablo Cibraro.
http://weblogs.asp.net/cibrax

<re****@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
Hi guys,

I'm currently working on an application that is heavily dependant on
web services. The web services are being run on an Apache Service
through Axis. We'll be using mod_gzip to get the server side of things
to compress the response (given that the header request specfies that
it accepts gzip encoding).

The application that will be consuming this service is a winforms .NET
1.1 application. I've been looking around for a few hours trying to
find a good example of how to set up the application to recognize and
unzip the file, but it looks like the majority of the articles are
written running under the assumption that you're using the 2.0
framework (more specifically, that you're using WSE 3.0 which you can
only use with 1.1). The only WSE version that is supported by the 1.1
framework is version 1.

Does anyone know of any good resources that show how
A) Add the "Accept-encoding: gzip" to the request header and
B) How to intercept the gzipped SOAP message and unzip it before
anything tries to process it?

Thanks for any help in advance!
Andy
Aug 3 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: chris.atlee | last post by:
I'm writing a program in python that creates tar files of a certain maximum size (to fit onto CD/DVD). One of the problems I'm running into is that when using compression, it's pretty much...
1
by: Andy | last post by:
Hi all, I'm familiar with web service compression and how to implement it in a Winforms app. What I'm trying to figure out how to do at this point is how to consume the service from an ASP.NET...
1
by: Rishika | last post by:
Hi, Im trying to create a web service client in visual basic.net. When the web service gets invoked in the client: Dim results() As Object = Me.Invoke("GetInstantaneousFlowData", New Object(-1)...
1
by: lowlyscrub | last post by:
I have an ASP.NET application that makes 12 different web service calls from a single method call. Each of the web services themselves don't do much more than run a small query (I've run the...
5
by: jeremyje | last post by:
I'm writing some code that will convert a regular string to a byte for compression and then beable to convert that compressed string back into original form. Conceptually I have.... For...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.