0 Replies Latest reply on Aug 10, 2012 1:42 PM by paikchris1

    Error #2032 when response body of HTTPService is too long

    paikchris1

      After hours of struggling with the 2032 error i have narrowed down my problem.

       

      My flex application calls a JSP on a Tomcat Server residing on my Local Machine. The call from Flex is a HTTP Service. But it throws a Http Request Error, Error #2032. The url works fine when copying and pasting into my browser.

       

      The funny thing is when i goto Network Monitor I see that the JSP sends a response back and everything seems correct except the error. But when i edit the JSP to give a shorter response it works!

       

      So in short, i can't get this application to accept an XML response from this JSP longer than a certain length.

       

      Any help please?

       

       

       

       

      [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://localhost:37813/NextPage.jsp?name=Frank&place=dallas&year=2000&day=2&month=2&hour=0 &min=2?hostport=localhost:8080&https=N&id=1BAC0596-0CD4-AC92-F935-12459C172310"]. URL: http://localhost:8080/NextPage.jsp?name=Frank&place=dallas&year=2000&day=2&month=2&hour=0& min=2"]

                at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\4.y\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:345]

                at mx.rpc::Responder/fault()[E:\dev\4.y\frameworks\projects\rpc\src\mx\rpc\Responder.as:68]

                at mx.rpc::AsyncRequest/fault()[E:\dev\4.y\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.a s:113]

                at DirectHTTPMessageResponder/errorHandler()[E:\dev\4.y\frameworks\projects\rpc\src\mx\messa ging\channels\DirectHTTPChannel.as:410]

                at flash.events::EventDispatcher/dispatchEventFunction()

                at flash.events::EventDispatcher/dispatchEvent()

                at flash.net::URLLoader/onComplete()