.Net web service compression

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rishika
    New Member
    • Nov 2006
    • 2

    .Net web service compression

    Hi,

    Im trying to create a web service client in visual basic.net.
    When the web service gets invoked in the client:
    Code:
    Dim results() As Object = Me.Invoke("GetInstantaneousFlowData", New Object(-1) {})
    an error is generated.
    The error I am getting is:
    Unhandled Exception: System.Web.Serv ices.Protocols. SoapException: Exception: Compression is Not Enabled,This Web Service expects clients to support GZIP,Deflate Compression
    I think this is because the web service expects the client to explicitly enable compression.

    Can anyone tell me how this is done?

    Thanks.

    Regards,
    Rishika
  • AricC
    Recognized Expert Top Contributor
    • Oct 2006
    • 1885

    #2
    Did this solve your problem?

    Comment

    Working...