.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
  • sashi
    Recognized Expert Top Contributor
    • Jun 2006
    • 1749

    #2
    Originally posted by Rishika
    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
    Hi there,

    Please do not make duplicate post, i noticed the same question asked in .NET forum section. Take care.

    Comment

    Working...