1 Reply Latest reply on Dec 21, 2007 10:01 AM by Peter deHaan

    Intermittent problem with HTTPService

      I'm reposting what I posted in the Linux forum, because although that's my platform, this doesn't seem like a Linux issue...

      Hello all -

      I've been having a fairly strange problem using the mx:HTTPService. I use a custom app to serve XML documents to my Flex application, and everything works just fine ... until it doesn't. Even though I can confirm that entire, complete XML documents are being transmitted by my server app, occasionally the HTTPService generates a fault, complaining that the document is not well-formed. Examining the event in the debugger reveals that sure enough, the XML has been truncated at some random point.

      This failure happens fairly often, but not in any predictable way. Retrying a request sometimes pulls in the exact same document successfully, sometimes it fails again. This really doesn't seem like a user error, since the documents do load successfully sometimes but not others.

      Has anyone else seen this or have any ideas?