Skip to main content
zamvil
Inspiring
April 26, 2013
Question

Webservice: Problem passing long string 8k

  • April 26, 2013
  • 2 replies
  • 956 views

Hi,

I have a webservice who receives a string parameter (xml). I send it a string shorter than 8 kb  a no problem but when I send a long string longer than 8 kb, it has problems.

Do someone know how can I fix this?

Where can I modify this value?

regards.

    This topic has been closed for replies.

    2 replies

    zamvil
    zamvilAuthor
    Inspiring
    April 29, 2013

    Thanks for your recomendations, The problem is still there. I'm doing a POST.

    I already did the same sample in CF9 and I don't have the problem there. The only diference is the that the CF9 is a physical server with Win Server 2008 R2 and the CF 10 is a virtual with WIn Server 08 R2.

    WolfShade
    Legend
    April 26, 2013

    Check with the webservice provider and see if either A) they can accept compressed strings and can uncompress; or B) if you can break it down into smaller chunks.

    ^_^

    Inspiring
    April 26, 2013

    If you are invoking the web services via a GET request, many servers can be setup to prevent GET requests of certain lengths,  however, most allow moderate 20MB+ submissions for a POST.

    Are you able to POST data to the web service instead?