IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 18th, 2006, 11:56 AM
ricardomendes ricardomendes is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Posts: 1 ricardomendes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 33 sec
Reputation Power: 0
Web service request does not reach IIS

I'm writing a Windows Forms application which gets data through a Web Service. I'm trying to use the IIS HTTP 1.1 native compression. In order to do that I've added the following methods to the proxy class generated by Visual Studio:

protected override WebRequest GetWebRequest(Uri uri)
{
WebRequest request = base.GetWebRequest(uri);
request.Headers.Add("Accept-Encoding", "gzip, deflate");
return request;
}

protected override WebResponse GetWebResponse(WebRequest request)
{
HttpWebResponseDecompressed response = new HttpWebResponseDecompressed(request);
return response;
}

The HttpWebResponseDecompressed class receives the compressed response and decompress it. This is what is happening: if I remove the second line from the GetWebRequest method (which adds the header), all the 9 requisitions that I make on the program's initialization have answer. But when the header is added, only the first 4 requisitions receive answer (the answer is correctly compressed).

I've enabled the ASP.NET trace (which generates the trace.axd page) so that I could see the requests received by IIS and the last 5 do not appear. If I put a breakpoint in the GetWebRequest method, the breakpoint is hit but they do not reach IIS.

Can anyone tell me what is happening or what can I do?

Thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Web service request does not reach IIS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT