4 Replies Latest reply on Mar 20, 2007 6:13 AM by vecmath

    Problems with HTTPService timeout and large XML

    vecmath
      Hi everyone!
      In my Flex application I populate a datagrid from a HTTPService result.

      It works fine, but there's one problem: If the servlet that generates the XML takes too long to return, the HTTPService throws this error:

      Error #1090: XML parser failure: element is malformed.

      This error appears to be random because it happens only on 15%-20% of the calls to the servlet. And the worst part: setting requestTimeout to 10000 or to -1 doesn't help.

      Can you tell me what going on? Thanks for any help!