2 Replies Latest reply on Jul 31, 2006 4:42 AM by Moo_ooM

    About  NetConnection.Call.Failed: HTTP: Status 404" Error

    Moo_ooM
      Hi !
      I 'm a beginner to Flex and FDS.
      I read an article "Rich Internet Applications with Adobe Flex 2 and Java"
      http://java.sys-con.com/read/210991_p.htm
      and I follow the steps tring to get the sample working.
      but with no luck, several hour pass and the error message still there.

      here are the connetion part of the sample
      <mx:XMLListCollection id="newsList" source="{newsFeed.lastResult.channel.item}" />
      <mx:HTTPService id="newsFeed" useProxy="true"
      destination="YahooFinancialNews" concurrency="last"
      resultFormat="e4x" >
      </mx:HTTPService>

      the proxy-config.xml part

      <destination id="YahooFinancialNews">
      <properties>
      <url> http://finance.yahoo.com/rss/headline</url>
      </properties>
      </destination>

        • 1. Re: About  NetConnection.Call.Failed: HTTP: Status 404&quot; Error
          Moo_ooM Level 1
          Flash Debugger Error Message
          [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404"]
          at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::faultHandler()
          at mx.rpc::Responder/fault()
          at mx.rpc::AsyncRequest/fault()
          at mx.messaging::ChannelSet/::faultPendingSends()
          at mx.messaging::ChannelSet/channelFaultHandler()
          at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
          at flash.events::EventDispatcher/dispatchEvent()
          at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
          at mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed ()
          at mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()

          and the JRun server log errors while running the program
          error Requested resource '/messagebroker/http' not found
          error Requested resource '/messagebroker/amf' not found

          I try tomcat and Jrun both container and same error
          • 2. Re: About  NetConnection.Call.Failed: HTTP: Status 404&quot; Error
            Moo_ooM Level 1
            I found the answer in the FDS forum
            the compiler arguments should add

            -compiler.context-root /flex

            I can't find it in the document and I spend several hour to debug
            I think adobe should add this to kownledge base