Skip navigation
paikchris1
Currently Being Moderated

Error #2032 when response body of HTTPService is too long

Aug 10, 2012 1:42 PM

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&d ay=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:34 5]

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

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

          at DirectHTTPMessageResponder/errorHandler()[E:\dev\4.y\frameworks\proje cts\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:410]

          at flash.events::EventDispatcher/dispatchEventFunction()

          at flash.events::EventDispatcher/dispatchEvent()

          at flash.net::URLLoader/onComplete()

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points