Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8855219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:05:09+00:00 2026-06-14T14:05:09+00:00

I am developing an app for both Windows Phone and iOS, and it needs

  • 0

I am developing an app for both Windows Phone and iOS, and it needs to consume an ASP.NET web service (SOAP, developed my me). The amount of data that I download through the web service is relatively large, due to the inherent verbosity of XML. I’d like to compress the server’s responses to my SOAP calls, using IIS’s ISAPI compression module. On iOS, I am using wsdl2objc, which works great. The Accept-Encoding: gzip,deflate header is present on calls from iOS/wsdl2objc. IIS properly compresses the response, which works dandy.

On Windows Phone, I am using the auto-generated SOAP wrappers, with the web service added as a Service Reference. This also (functionally) works just fine. The app functions properly, but the header sent by the generated code is Accept-Encoding: identity. I’ve heard through the tubes that the generated code uses WebRequests, which support gzip’d content.

Is there an accepted way to either add the Accept-Encoding: gzip header on the phone side, or return a compressed Content-Encoding: gzip response from the server?

Thanks in advance!

Note: I’m using an ASP.NET Web Service, NOT an ASP.NET WCF service.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:05:10+00:00Added an answer on June 14, 2026 at 2:05 pm

    Turns out the underlying HTTP request magic baked into WP7’s SOAP implementation has exactly 0 support for GZIP/DEFLATE compression of responses (or requests, for that matter). I’m going to end up rolling my own SOAP class generator solution, that uses the WebRequest classes to do it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently developing a moderately large sized web app with ASP.NET 2.0 that uses
When developing a web app, in my case a ASP.NET MVC app, but this
I am developing a windows phone app and an android app. Both the apps
Here's the layout : I'm developing an internal ASP.NET Web App (in VB.NET) with
I'm developing an ASP.NET MVC 2 app using Windows Authentication. When I run it
I'm developing an app for Windows Phone 7.1(7.5) - 8 (Must work for both)
I am developing and iOS app with both positions, Landscape and Portrait. Using iOS5,
I'm developing an app for Windows Mobile 5.0 and above, with C# and .NET
I've reached a bit of an impasse when developing a .NET windows forms app.
I'm developing a mobile app that will be available on both android and ios.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.