Skip navigation
Currently Being Moderated

HTTPService Error

Jan 5, 2013 3:47 PM

Tags: #help #error #data #php #flex #post #httpservice

When I am activating my HTTPService POST, I am getting this error:


[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/server/secondPHP.php" errorID=2032]. URL: http://localhost/server/secondPHP.php"]

          at mx.rpc::AbstractInvoker/[E:\dev\4.y\frameworks\projects\rpc\src\mx\rpc\ 5]

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

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

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





I am POSTing to a PHP file that looks like this:



$method = $_POST["method"];


if ($method == "ADD_FRIEND") {

  $xml = new SimpleXMLElement('http://localhost/server/myxml.xml', null, true);


  $xml->Users->addChild("Friend", "friend");



          $returnValue = "Friend Added";





I have no idea what the error message means. If anyone could help that would be great!


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